Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get my own copy of Word?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00444424
Message ID:
00444696
Vues:
7
>>If that's the case, you can use VFPCOM to trap Word's Shutdown event, and not
>>let it shutdown 'til your app is finished with it.
>
>Cool, I knew that DLL had to be good for something... Thanks for the tip!

While there are a few gotchas about it, VFPCOM can do a great job of handling events in the Office (or any COM) servers. It comes with the amazing ExportEvents method. Not only does it extract the available event names/parameters from the server, it also writes a skeleton VFP class definition to get you started! No poking around in the Object Browser or trying to find some other obscure reference--just ask it for the events from your server, and it readies the code! Cool Stuff.

- della
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform