Processor details

  • Thread starter Thread starter Jack Russell
  • Start date Start date
J

Jack Russell

Under XP the following code returns details of the system

moSearch = New Management.ManagementObjectSearcher("Select *
from Win32_Processor")

moReturn = moSearch.Get

For Each mo In moReturn

sCPManufacturer = mo("Manufacturer").ToString.Trim

sCPName = mo("Name").ToString.Trim

sCPSerialNo = mo("ProcessorID").ToString.Trim


Under Vsta this works unless logged on as Guest when it pulls an exception.

Why?

Thanks

Jack Russell
 
Back
Top