Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Allow user to modify a Word document?
Message
 
À
13/01/2009 06:27:16
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:
01372571
Message ID:
01373254
Vues:
45
>I have no idea how you can do that using the code you supplied. If you have no VFP UI and you need to take action when the user is finished editing the document, the only place that I know of to put the code is in the ApplicationEvents2_DocumentBeforeClose method. If the only UI is Word, the only way the user can signal that they are finished editing is by closing the document, so that is where the code would have to go.

I don't think the problem is the UI--and a form isn't a bad idea anyway. The problem seems to be getting the process that will create the eventhandler to recognize the reference to the existing copy of Word.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform