General information
Category:
COM/DCOM and OLE Automation
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only