Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to read the BIOS number?
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
01019447
Message ID:
01132841
Views:
13
Juan,

Depending on your rights, this might be a little more difficult. First, ConnectServer accepts parameters to connect to a different computer, so instead of:
loWMI        = loLocator.ConnectServer()
You can do something like:
loWMI        = loLocator.ConnectServer('\\Machine', ['root\CIMV2'], ['User'], ['password'])
If you ('User') have enough rights (Like domain administrator <g>) connect server should work, otherwise it might be trickier


>Hugo;
>
>Thanks very much for your reply, it works great for the computer where it is running.
>
>I have to obtain the BIOS info of a computer which I have a mapped drive letter to, e.g.:
>
>"Z:\" is mapped pointing to \\SERVER\DATA\
>or I could also send the path "\\SERVER\DATA\"
>
>The question will be if I can use this same rutine you sent me (parsing a parameter) to obtain that other computer's BIOS info?
>
>Again thanks very much.
"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