Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creatobject
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00515106
Message ID:
00515112
Views:
17
Will it work if you remove all blanks from yours:
oWord = CreateObject( "word.application " )?
It should be oWord = CreateObject("word.application").



<<<<<<<<<<<<<<<< your message below >>>>>>>>>>>>>>>>>

I am trying to open word and a document from within VFP.

When reading about the subject all examples referred to excel, and the following
code:

oExcel = CreateObject( "excel.application" )

Of course I tried: oWord = CreateObject( "word.application " )
and I get the error 'Class definition WORD.APPLICATION is not found'

Further reading led me to try: oWord = CreateObject( "word.document" )
now I am getting the error 'OLE error code 0x80020003:Member not found'.

Can anyone give me any ideas on how to do this?
Previous
Reply
Map
View

Click here to load this message in the networking platform