Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Software installed on PC
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01427877
Message ID:
01427891
Vues:
93
>>I am looking for a way to scan the software installed on PC
>>it can be programmed in VFP
>>Regards Niels
>
>
lcComputer = "."
>loWMIService = GetObject("winmgmts:" ;
>+ "{impersonationLevel=impersonate}!\\" + lcComputer + "\root\cimv2")
>colSoftware = loWMIService.ExecQuery ;
>("Select * from Win32_Product")
>For Each loSoftware in colSoftware
> ?loSoftware.Description 
>Next
>
>Carefull, this may take a long time.

Pretty cool!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform