Information générale
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Network:
Windows 2003 Server
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement