Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determine if MS Word is installed
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00415559
Message ID:
00415773
Vues:
28
>I hate the "trap error" routine for trying to make a determination such as this. I'd use the registry class and check for the existence of the Word.Application key under HKEY_CLASSES_ROOT. Then again, that's just me.

But checking the registry only check to see if the class is registered. It doesn't ensure that the user didn't decide she likes WordStar better and delete the content of the Word folder.

IOW, the error trapping routine is a catch-all, and checking the registry just checks the best clue...
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform