General information
Category:
COM/DCOM and OLE Automation
Title:
OLE error 0x80010105 opening word document
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
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