dankennedy
asked on
Get Processor Type/Speed
I'm looking for code, or a dll, that will give me the processor speed (MHz), and Processor Type, on 95/98/2000/XP systems. It will only be used on AMD and Intel systems.
I've tried the GetCPU.dll and it didn't work very well for me. The optimal case would be actual VB code that can do this.
I'm using Visual Basic 6.
Thanks!
I've tried the GetCPU.dll and it didn't work very well for me. The optimal case would be actual VB code that can do this.
I'm using Visual Basic 6.
Thanks!
ASKER
I've seen that one. It uses the GetCPU.dll. It is really close to what I want however I think it's made by Intel so for Example when I run it on my system, it says...
Manufacturer: AMD
Type: Unknown
I've also run into problems running it on dual processor systems. It doesn't report the speed correctly.
Manufacturer: AMD
Type: Unknown
I've also run into problems running it on dual processor systems. It doesn't report the speed correctly.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
That WMI looks like it'll give me exactly what I want... Thanks for the help.
I'm not sure who the maker of the software is, but we use a free utility called BGINFO - it is a slick little executable that you can run anytime (we put a command-line statement in a batch file and run it in startup) to give you a whack of useful info about any system running any version of windows, including processor info (and much more).
If you google bginfo.exe you will find it right away. It's great for Servers and workstations.
If you google bginfo.exe you will find it right away. It's great for Servers and workstations.
http://www.a1vbcode.com/app.asp?ID=1004