Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is Word/Excel installed
Message
 
À
10/10/2001 10:32:20
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00566415
Message ID:
00566588
Vues:
31
As a FYI side note to your question, the object model of Word was changed after Word95 so you will want to check the version to ensure any OLE Automation you do actually works. I restrict my users to Word97 and above.

IF VAL(oWord.Version) < 8
MS Word97 or later exists. Continue with code
ENDIF

>Hi,
>
>Is there a easy way to see if Word/Excel are installed on my system ?
>If i try a createobject("word.application") i get a CLASS DEFINITION IS NOT FOUND, but i want to check before i do the createobject.
>
>thx
>
>Guillaume
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform