Welcome! Log In Create A New Profile

Advanced

Word automation error

Posted by Frans 
Frans
Word automation error
April 06, 2009 10:20PM
Hello to you all,

I have a mailmerge procedure for Word.
On most computers all is OK.
On some computers I get an error after 3, 4 or some more letters.
I work in WD11

'Open' Automation method called.
Erreur 800706B5
Technical Information
Project : Prj3
Dump error of module <WD110VM.DLL> <11.00Qd>.
- WL Call:
Processing <Global procedures of Prj3.WordMerge>, line <23>, thread <0>
- Level: fatal error (EL_FATAL)
- Error Code: 2205
- WD55 Error Code: 0
- No system error code
- No system error message
- What happened?
'Open' Automation method called.
Erreur 800706B5
- No debug information

Somebody any idea?
Regards and thanks in advance.

Frans
Al
Re: Word automation error
April 06, 2009 10:43PM
Hello Frans

I had a similar problem doing a find and replace using Office automation, I found that I had to put a delay between the calls to the automation process. I assumed that sometimes Word had not finished all of its processess before I called it again.

DelayBeforeClosing(300)
Info("Waiting for MS Word to close")
DelayBeforeClosing()


Regards
Al
Frans
Re: Word automation error
April 07, 2009 09:11PM
Hello All,

Thank you for your tip.
I will try this out and let you know.

Regards Frans
Frans
Re: Word automation error
April 18, 2009 09:50PM
Hello Al,

Yesterday my customer returned fro, holiday and today I tested your solution.
Indeed a little pause did the job!

Many thanks,

Frans
BLS
Re: Word automation error
April 18, 2009 09:56PM
Frans R. ? Netherlands/Holland ? Tried to contact you via skype...Björn France made some interesting SCM thingies ...
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: