>Need the API Call To Retreive Hard Drive Serial #? Anyone
>know what thread # that's in?
>
>Thanks
The latest thread about this I remember is Message #
037726, if you want to try the function I posted, beware I found it does not work properly if user is not passed, you must replace:
loWMIService = loWBEMLocator.ConnectServer(lcComputer, '\root\cimv2', lcDomain + "\" + lcUser, lcPassword)
with
if Empty(lcUser)
loWMIService = loWBEMLocator.ConnectServer(lcComputer, '\root\cimv2')
else
loWMIService = loWBEMLocator.ConnectServer(lcComputer, '\root\cimv2', lcDomain + "\" + lcUser, lcPassword)
endif
"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