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:
00515115
Views:
17
Looks like you've got a trailing space in "word.application ". Take out the space and it will work.

>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?
Rick Borup, MCSD

recursion (rE-kur'-shun) n.
  see recursion.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform