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:
00673089
Vues:
20
>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.

Neil
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform