Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFPCOMM Does not expose events of Word.Application
Message
From
28/06/2002 14:06:21
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00672260
Message ID:
00673415
Views:
24
>>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.
>

Unfortunately, I don't have VFPCOM on this machine. (It was set up after VFP 7 shipped.) So I can't easily test this. Maybe someone who's working in VFP 6 can do so.

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform