Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFPCOMM Does not expose events of Word.Application
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00672260
Message ID:
00673509
Vues:
16
This message has been marked as a message which has helped to the initial question of the thread.
>>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
Fil
Voir

Click here to load this message in the networking platform