Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Aplicaciones instaladas
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01251287
Message ID:
01252254
Views:
18
Puedes usar WMI
local loProducts, loProduct, loWMI

loLocator			= CREATEOBJECT('WBEMScripting.SWBEMLocator')
loWMI				= loLocator.ConnectServer()
loProducts			= loWMI.ExecQuery("SELECT * FROM Win32_Product")

For Each loProduct in loProducts
	with loProduct
		if Isnull(.Name)
			loop
		endif
		? .Name, .Caption, .Description, .IdentifyingNumber, .InstallDate, .InstallDate2, .InstallLocation, .SKUNumber, .Vendor, .Version
	endwith
endfor
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform