Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Software installed on PC
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01427877
Message ID:
01427891
Views:
92
>>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!
Previous
Reply
Map
View

Click here to load this message in the networking platform