Solved

CPU Temperature.

Posted on 2003-11-03
3
1,845 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
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…
Suggested Courses
Course of the Month5 days, 15 hours left to enroll

626 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