I have requirement to integrate word with Team Developer 7. to start this, I have tried to download the samples from Dave's site and tried to test but i did not succeed on this.
It seems the sample uses Word 8 object library but the object library version is 11 if I create ActiveX library from my system. this could be due to newer office version in my system. Due to this higher version, I am getting error in few methods like .Init() etc.
Note:- I am unable to convert some Dave's samples to TD 7.0 as it says I need to covert with lower version TD and then this version. I do not know why as I did not face problem when I migrated my files from CTD 1.5.1 to TD 6.3.
I also tried to check COM sample for Word but I could not.
Can you please share idea or sample if you have it? I am happy if the sample is there in C# wrapper as this is integrated with TD win32 through gailwrapper.
- Founder/Site Admin
- Posts: 1112
- Joined: 24 Feb 2017, 09:12
- Location: Gouda, The Netherlands
When we know the exact sample you have tried, we can see to get it working on TD 7.0.
As for the conversion issue, the requirement to have text format files is introduced in TD 7.0, so you are right you did not see this in TD 6.3.
(meaning any normal format sources need to be saved to text format first using TD 4.2 or earlier before they can be opened in TD7.0 and up)
I recommend Jeff Luther TD-Converter tool to save TD binary (normal) files to text format:
Sivababu A, click on this forum link: viewtopic.php?f=27&t=104
to download the newest version -- which I released as a beta version last year -- and does allow for back-converting from TD v7 and earlier. Meanwhile, I'll update my jeffluther.net/TD site area and add this latest version.
Palm Springs, California
TD info. & samples: http://www.jeffluther.net/TD/
There is a change in the method and arguments in higher version of word object library. Gupta has updated their sample folder inline with this higher version word/excel library and this works!
\Samples\SQLWindows\ActiveX\Microsoft Office Automation
Note:- if someone wants to use samples from Dave's site and getting compilation errors. No problem! please replace the deprecated methods by referring the above sample. that's it. it will work!
Who is online
Users browsing this forum: [Ccbot] and 0 guests