Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE error 0x80010105 opening word document
Message
From
19/04/2000 18:51:31
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
OLE error 0x80010105 opening word document
Miscellaneous
Thread ID:
00361602
Message ID:
00361602
Views:
79
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
Reply
Map
View

Click here to load this message in the networking platform