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:
00673415
Vues:
25
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform