Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems intercepting Word Events
Message
De
19/05/2009 06:40:52
 
 
À
19/05/2009 03:55:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01400371
Message ID:
01400577
Vues:
53
... and this code for versions earlier than 2007 (I have not tested further back than Word XP):
DEFINE CLASS WordEvents as Custom
IMPLEMENTS ApplicationEvents2 IN "Word.Application"


You cannot rely on this syntax working. The only time it works is when the machine that it is running on has only ever had one version of Word installed on it. The minute a new version is installed, this code will break.

Or is it just me that does not like to pointlessly duplicate code?

I do not think that you are so unique in that respect <s>.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform