Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Allow user to modify a Word document?
Message
 
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:
01372739
Vues:
35
>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.


Did you try to disable the "Close" button on the toolbar and the file > close menu?
Christian Isberner
Software Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform