Information générale
Catégorie:
COM/DCOM et OLE Automation
>>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
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