Solved

CPU Temperature.

Posted on 2003-11-03
3
1,837 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 69

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
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…

930 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now