Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to allow edit of Word automation document
Message
 
À
28/06/2009 06:04:45
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01408811
Message ID:
01409003
Vues:
66
The code I have is from January 2009. The process I finally did get to work opens a separate instance off Word dedicated to editing; the user closes that copy to indicate editing is complete. But this means the document must be saved to disk twice. About 15% of the people can't print the doucments to PDF after they have been saved to disk (it's a network issue or a pdf converter issue but I'm tired of waiting for someone else to fix it!) I want to revise the edit process to pass a reference to the automation instance of Word (with the temporary document open and active), and then prevent Word from Quitting when the user clicks the close box (just unblind the eventhandler and return to the automation process.) Just 2 "little" changes but so far, if one of them works, the other doesn't!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform