General information
Category:
COM/DCOM and OLE Automation
>>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.
>
>Actually this brings up another question. Does this work in VFP 7.0? I understand that the functionality provided by VFPCOM in VFP 6 is more tightly integrated into VFP 7. Hopefully they have corrected this little problem with the improved support in VFP 7.
>
You don't need VFPCOM in VFP 7. The functions you need are right in the product. I don't know whether I've ever tested Word's events. I have bound to Outlook events from VFP 7.
VFP 7's Object Browser lets you create the class to implement the events. You just drag the interface you want to a editor window and all the code is generated. I just tested dragging the ApplicationEvents2 interface and got exactly the code I expected.
Tamar
Previous
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