General information
Category:
COM/DCOM and OLE Automation
>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
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