Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using VFP to detect hardware
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00427379
Message ID:
00427391
Vues:
16
>
>Is there a way to write codes to detect the availability of the hardwares on a pc? such as bios, motherboard, video card ... etc.
>
Yes. You can use the WMI (Windows Management Instruments) API to query almost any information that you could ever want. For more information on it start with the MSDN - Platform SDK - Management Services - Windows Management Instruments. You can look through the WMI Reference - WMI Classes - Win32 Classes to get an idea of the kinds of information that is available.

>
>How would I write codes to determine what software is installed on the hard drive?
>
Some of this can be achieved with the WMI also. However, most of what you will get returned to you with it will be Microsoft products. Only a few others have taken the time to log their software as being installed here. Other than that you might search for information regarding the registry and what keys hold the information for the Add/Remove Programs part of the Control Panel.

Good Luck,

REM
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform