Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can we subclass word.application?
Message
De
06/10/1998 17:24:38
Tim Hockin
Illinois State U - Residential Computing
Normal, Illinois, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00144385
Message ID:
00144389
Vues:
20
>What I've done so far is create a subclass WordHelper based on my cObject(Line) subclass that instantiates word and gets created like:

That is exactly what I have done. I found that there were some things I wanted to do, over and over. even if they were one line of VBA, a clean wrapper could be written. If I REALLY need to access the 'Word.application' directly, I have to type the oWord.oInstance reference. Most of the time, I am hitting the same combination of functions repeatedly, so I write a wrapper method.

has worked (so far :)

if there is a better way anyone knows of, I am very interested..
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform