Solved

CPU Temperature.

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to create a duplicate finder Application 9 127
VBA error replacing data 6 41
VB6 - Compare and highlight cell not the same 3 56
How to make an ADE file by code? 11 99
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

713 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