Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Confirming Existence
Message
De
17/06/2010 07:19:30
 
 
À
16/06/2010 18:24:36
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01469323
Message ID:
01469391
Vues:
55
>From within VFP, I simply want to confirm whether or not Word is installed. Obviously I can do so with --
>
>TRY
>oWord = CREATEOBJECT("Word.Application")
>CATCH
>oWord = NULL
>
>-- and then VARTYPE().
>
>Is there a better way?
>
>TIA,
>-m.
IF TYPE('CREATEOBJECT("Word.Application")') == 'O'
...
Of course 2 ns after this can to be not true.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform