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
Titre:
Determine if MS Word is installed
Divers
Thread ID:
00415559
Message ID:
00415559
Vues:
68
Hi all,

Just wondering how I can determine (programmatically) if a user has MS Word 97 (or higher) installed on the pc which is running my app.

I'm using Word to print charts from my app (generated with MSChart) by copying the chart object to the clipboard, then pasting that into a Word document and then sending it to the printer. Everything works fine, but I need to trap for users who don't have Word installed. (Actually I'd like to disable the print button for "Word challenged" users by testing in the beginning rather than waiting and trapping for an error)

Any suggestions are appreciated. Also, I am curious if I have to test for all versions of Word or is there a standardized thing I can look for (regardless of if they have Word 2000, etc)

Thanks in advance,
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform