Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get my own copy of Word?
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00444424
Message ID:
00444696
Views:
15
>>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
Map
View

Click here to load this message in the networking platform