Word Automation Failure when other word documents are open 
Author Message
 Word Automation Failure when other word documents are open

I am getting a run-time error

'-2147417851 (80010105)'
Method '~' of object '~' failed

This is occuring on one PC that i have installed my
program on...the other 6 PCs run fine with the same test
case.

The program opens a template and save it as a temp file,
and then begins to fill in bookmarked fields on the Word
document. The error occurs after the document has been
opened and saved, and at the point where I first try to
move a text field into the selected bookmark.

Also, it only occurs when the user has a Word or Outlook
message open (otherwise the program runs fine).

Any ideas? Why is this happening to just one PC?

Thanks.



Mon, 11 Apr 2005 02:13:02 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Opening a word-document object thru automation

2. Open Word document using Automation

3. Trouble Opening a Word Document with VB.NET,Open member not found in Documents

4. Using VBA Automation to Open Word at the File Open Locatiion

5. Cutting a full Word document and pasting it in another Word Document

6. Problem with Automation: Access to Word Document Template

7. Insert information into a word document using automation

8. ACCESS query to WORD document via Automation

9. Size (height and width) of hyperlink in word document by automation

10. OLE Automation: Activating Word Documents and allow user to edit

11. OLE Automation call to GET FILEINFO from WORD document

12. OLE Automation Error Experienced with Word 7.0 not with Word 6.0

 

 
Powered by phpBB® Forum Software