Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't Add new document in Word.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00532159
Message ID:
00532235
Vues:
17
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform