Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Automating Word
Message
 
 
To
29/05/2004 09:38:43
Steven Edge
Soft Solutions Limited
Lagos, Nigeria
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00908425
Message ID:
00908433
Views:
19
word.basic pre-dates the Word object model, as does the solution sample you looked at.

Word still has 'application.basic', I think, which is how they achieved backwards compatibility for existing macros, but it's less reliable that talking directly to the object model.

Dan

>Thanks Marcia,
>
>That looks good. The reason I got confused was that the solutions sample created the object with o=CREATEOBJECT('word.basic') but I could not find any 'basic' object in the object browser, and the context help did not work either.
>
>With your way of instantiating the 'word.application' it all makes sense, and I am in tune with the type library.
>
>Thanks again.
>
>Steven
>
>>Anyone has any links to some good articles about automating Microsoft Word from VFP?
>>
>>Download the sample code and the white paper from the downloads page of my web site.
Previous
Reply
Map
View

Click here to load this message in the networking platform