Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detect SSD drive
Message
From
26/12/2017 08:08:43
 
 
To
26/12/2017 07:41:45
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01656676
Message ID:
01656724
Views:
47
Marco,

As mentioned in my reply to Yousfi, I get an OLE error ("Name can't open the file") on
oWMI = Getobject("WINMGMTS:\\.\ROOT\Microsoft\Windows\Storage")
so i can't access the MSFT_PhysicalDisk class

>Hi Thierry, using my tool you don't need to create any
>program or know the wmi object properties in advance.
>
>Just do:
>
>oPD = wmiquery('MSFT_PhysicalDisk','Microsoft\Windows\Storage')
>
>or run the sample and you'll get all the info you are looking for.
>- see attached image.
Thierry Nivelet
FoxinCloud
Give your VFP application a second life, web-based, in YOUR cloud
http://foxincloud.com/
Never explain, never complain (Queen Elizabeth II)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform