Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLE error 0x80010105 opening word document
Message
De
19/04/2000 18:51:31
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
OLE error 0x80010105 opening word document
Divers
Thread ID:
00361602
Message ID:
00361602
Vues:
81
I get "OLE error code 0x80010105" on opening a Word document from VFP 6.0.
the same code works fine on some of the user machines but not the other, all users have MSWord Office 97 SR2 installed.

code:

oWord = Createobject("Word.Application")
oWord.Visible = .T.
oWord.Documents.Open("C:\TEMP\CERESD01.DOC",,1)
oWord.ActiveDocument.MailMerge.Execute
oWord.ActiveDocument.printout

at the time error occurs on ".Open()", the document is opened in Word successfully, mailmerge is not done.

Same error occurs after restalled office 97.

Did anyone have the same problem?

Thanks!

David Lui
Répondre
Fil
Voir

Click here to load this message in the networking platform