Information générale
Catégorie:
COM/DCOM et 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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement