Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Basic OLE automation event/object model question
Message
 
To
21/07/2000 09:43:46
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00395372
Message ID:
00395388
Views:
10
>>What I'd like to know is if there is a way to capture the events that happend in word back to vfp. For example, I know how to create a custom toolbar in word from vfp on the fly, then add a combo box to it, populate the combo box, make it visible in word, etc... but how can I capture events from that combo box BACK to vfp so that I can respond to them from vfp and the send results back to Word.
>>
>
>Check out a tool called VFPCOM.DLL available for download from the Microsoft VFP site (msdn.microsoft.com\vfoxpro). It lets you hook into the events of COM servers and respond to them from VFP.
>
>Tamar

Can't say about Word 97/Windows 98, but you cannot really use VFPCOM and Excel 97/Windows 98. The most of Excel objects I was interested in were not publishing any events. In most cases ExportEvents() brings nothing.
But I know it works in Office 2000/Windows 2000.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform