General information
Category:
COM/DCOM and 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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only