Solved

CPU Temperature.

Posted on 2003-11-03
3
1,841 Views
Last Modified: 2013-12-25
Hello everybody, I wonder if there is a way to get the CPU temperature and fan speed to a VB program and if so, how? I hope someone can help me with this problem.
Thanks.
0
Comment
Question by:Tib2
3 Comments
 
LVL 70

Assisted Solution

by:Éric Moreau
Éric Moreau earned 20 total points
ID: 9674064
Do you have a Dell Inspiron?
0
 
LVL 3

Accepted Solution

by:
aflat362 earned 100 total points
ID: 9674197
Where would you get the data from?  Your typical PC will not be aware of the temperature of your CPU.  In order to access temperature data you have to actually have a device that reads the temperature.  Some motherboards do this as a feature, and if you have one of these motherboards they will come with software to display the temperature.

If you have no device that reads the temperature of your CPU you might as well try to write a program that tells you the temperature of the turkey sandwich you had for lunch.
0
 
LVL 53

Assisted Solution

by:Dhaest
Dhaest earned 20 total points
ID: 9676749
As far as I'm aware you need a sensor installed on the motherboard for this to work.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/hh/wmisdk/r_32hard_346d.asp

Have you looked at the website for WMI on MSDN ?

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/hh/wmisdk/wmistart_5kth.asp

0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question