Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word Automation Error
Message
From
05/12/2001 13:22:43
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00589963
Message ID:
00590007
Views:
34
>I have been succesfully running a Word Mail Merge program form my Database for a while now but have encountered problems with XP (OS and Office combo). The first print works fine but subsequent ones give an error (XP sometimes claims there has been a corruption in the doc - rubbish). The error returned to my system is
>
>"1426 - OLE Error 0x80010105 - The Server threw an Exception".

Very interesting. I just did an Automation job for another developer, using VFP 7 and Word 2000. For various reasons, he's testing in Word XP (though the target is 2000), and he's run into this error. We haven't had a chance to work it through yet, but the error occurs on a line like:

oWord.Documents.Add(