Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Want to show MS System Information in my apps help
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00182487
Message ID:
00182642
Vues:
8
>>The MS System Information program is not distributable. The user has to have >MS Office (I think) or some other MS application that'll install it.
>
>>That's right -- we had a controversy here over that a while back. Basically, you really need a solution such as searching for the msinfo or msinfo32 app when you launch your Help/About form, and disabling the button if it can't be found...
>
>How is a good way to search for msinfo?
>
Hi Brenda,

The registry (under HKEY_CLASSES_ROOT\MSInfo.Document). The ..\Shell\Open\Command" has the location of the executable (short path used). Or create the object and try to trap the OLE error if not found. Or create a temporary file with the extension "nfo" and use the FindExecutable API call to locate it.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform