Solved

CPU Temperature.

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
change vba from autofit to 13.5 width? 4 29
VBA filters 2 62
Copy a row 12 62
Recommendation vb6 to vb.net or others 14 150
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…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

803 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