Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detect SSD drive
Message
From
26/12/2017 09:40:07
 
 
To
26/12/2017 08:35:31
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01656676
Message ID:
01656730
Views:
53
Got it Marco, thanks

as explained in my earlier replies, here is what I get:
oPD = wmiquery('Microsoft_PhysicalDisk','Microsoft\Windows\Storage')
? m.oPD && .null. << here is the issue
>Hi Thierry, this is all you need to do using my wmiQuery.prg:
>
>oPD = wmiquery('MSFT_PhysicalDisk','Microsoft\Windows\Storage')
>? oPd.items(1).mediaType
>
>( see attached image )
>
>I developed this tool to get any wmi query infomation
> avoiding all the issues involved with the task
>
>Please inspect the sample to get an idea of all the info you can get from wmi,
>from hdd performance, bios, serial numbers, installed software etc.
>
>for example try:
>
>oMyPc = wmiquery('Win32_PNPEntity')
>
>and check oMyPc in your debugger or using intellisense.
>
>Marco
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