Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Gotcha's with WMI?
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01266233
Message ID:
01266471
Views:
8
Hi Mike,

most examples of WMI are done with Windows Shell Scripting, which is a non-starter in any kind of secure environment. However, WMI can be done entirely from within VFP: are you staying you've run into environments where that would be prohibited?

tnx,

Hank

>>I can get it using WMI, but I am wondering what issues I might have in the wild trying to use WMI?
>
>
>Network admins preventing script (of any kind) running on their systems...There different versions of WMI for different OSs.
>
>
>
>>I have run into a problem using API calls to get a MAC address to identify a machine. On Windows XP if the cable is disconnected, id don't get the adapter's MAC address using NetWkstaTransportEnum.
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform