Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word Automation Error
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Word Automation Error
Miscellaneous
Thread ID:
00589963
Message ID:
00589963
Views:
62
Hi all.

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".

Luckily my customer blames his hardware chap (tee hee) but I know it's probably me. I could go on for days about how c**p XP is but as you cant buy Office 2k anymore my customer has no choice but to use it.

So, hands up who thinks the problem is related to XP Office saying the document is corrupted (and can suggest a fix for that) or who thinks its the OS or even my progamming? Find the code below if it helps.

oDocument = .Documents.OPEN(cAcknowledgementDoc,FALSE,TRUE)


P.S.

I will be pleased to buy the guy/gal a beer for any useful suggestions (if you can get to Northampton, UK to drink it) :-)

Ta
Guy Lewellen
Next
Reply
Map
View

Click here to load this message in the networking platform