Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't Add new document in Word.
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00532159
Message ID:
00532235
Views:
16
>I can create a word application, and make it visible, but I can't always get it to add or open a document. Sometimes it works OK. Sometimes I get the error that says my command is not found "OLE Error Code 0x8002003: Member not found". And I know that the ADD is a member of the documents collection.
>When I have done the oWord.CreateObject("word.application"), and made it visible with oWord.visible = .t. I can see Word on my task bar, and go to it, open a doc and everyting in Word works OK. Except when I toggle back to VFP6, I get the errors when I try to add or open an existing doc.

Can you post the code that works intermittently? I can't think of any one absolute thing (a dozen or so possibilities, though) right off hand, but if I see the code, something might jump out at me.

- della
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform