Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Office 2007 breaks word Automation
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01331039
Message ID:
01331336
Vues:
21
Hi

Yes my code that I have used for years now throws errors in Office 2007. I have to obtain a copy of Office 2007 and see what has changed. My errors appears to be related to "ActivePrinter".

Simon


>Is anyone having trouble with Word 2007 automation? I am using code from "Microsoft Office Automation with Visual Foxpro. I had no problems with Word2000 or Word2003. I print 2 memo's, one is a cover letter with addressee data inserted. The other inserts the same addressee data and inserts data about a data embedded query using another data source. As I said, this was working great until we upgraded to Office 2007.
>
>Now I am getting "Word cannot open document as a data or header source because it contains no data." after I have cleared old data. The next process, before the mailmerge execute, I open the headersource (works fine), then I open the datasource and get "File in Use, document is locked".
>
>No, no one else has the doc open, I checked WinExpl to find the doc closed but a reference to it with the "~" (weird). I have tried different Word objects using parameter 9 and 10, but no difference. Any ideas?
>
>Chuck
Simon White
dCipher Computing
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform