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