General information
Category:
COM/DCOM and OLE Automation
>>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
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