Information générale
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Network:
Windows 2003 Server
Thanks Naomi. I've read that thread many times over the past couple of months (and Marcia's white paper as well.) The concern in both of those cases was to know WHEN the user closed Word. I'm hoping to PREVENT him from closing Word. Still, it should work if the events exposed in ApplicationEvents2 allow me to 1) to intercept the user's action at appropriate places, and 2) return control to VFP. The class definition requires the guid specific to the version of word that is currently running. The application supports Word versions 8 through 12 and some workstations do have more than one version installed. Obviously, the version number is known at the point of instantiation, but how do I determine (or calculate) the guid? I thought I'd seen something on UT about that but can't find it now and a Google search was fruitless as well.
As an update, I just found a Microsoft support article outlining instances where the calculated guid would be incorrect, so obviously I do need to search the registry for it.
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