Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFPCOMM Does not expose events of Word.Application
Message
 
To
27/06/2002 10:23:50
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00672260
Message ID:
00673089
Views:
19
>According to what Della wrote in AutoFox, you should be able to do it like this:

>oVFPCOM = CreateObject("vfpcom.comutil")
>oWord = CreateObject("Word.Application")
>oVFPCOM.ExportEvents(oWord, "WordEvents.PRG")

>and the generated program should have the ApplicationEvents2 interface.

Hence we get back to my original post. The above code SHOULD generate the event interface in "WordEvents.PRG", but is does not. It creates a PRG file but there are no interfaces defined. Try it for yourself.

Neil
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform