Processor details

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top