Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact
>

.NET 

Temp Monitor

I was planning on making a program like Speccy but I got bored and side tracked.

Simple program that monitors your CPU temp (if supported) and alerts you if the temp (in celsius) is warmer than the limit you made.

https://www.sendspace.com/file/rscz4i

[Image: 334a33cc2d854a3df581792fcafd9995.png]
Please post screenshots if you can.

Here is a scan of the rar file (Click to View)
[Image: vjPWhyy.gif]
[Image: 334a33cc2d854a3df581792fcafd9995.png]
(Sep 15, 2014 01:22 PM)[ MVP ] MalRoto Wrote:  [Image: 334a33cc2d854a3df581792fcafd9995.png]

You should really just paste source if the project is as small as this.

PHP Code

<?php 
Imports System
Imports System
.Management

    
Try
      
Dim searcher As New ManagementObjectSearcher("root\WMI", "SELECT * FROM MSAcpi_ThermalZoneTemperature")
      For 
Each queryObj As ManagementObject In searcher.Get()
            
Dim temp As Double = CDbl(queryObj("CurrentTemperature"))
            
temp = (temp - 2732) / 10.0
            Label2
.Text = (temp.ToString)
      
Next
      
Catch ex As ManagementException
      MessageBox
.Show(ex.Message)
      
End Try 
[Image: vjPWhyy.gif]
(Sep 15, 2014 01:28 PM)$lick Wrote:  You should really just paste source if the project is as small as this.

PHP Code

<?php 
Imports System
Imports System
.Management

    
Try
      
Dim searcher As New ManagementObjectSearcher("root\WMI", "SELECT * FROM MSAcpi_ThermalZoneTemperature")
      For 
Each queryObj As ManagementObject In searcher.Get()
      
Dim temp As Double = CDbl(queryObj("CurrentTemperature"))
      
temp = (temp - 2732) / 10.0
      Label2
.Text = (temp.ToString)
      
Next
      
Catch ex As ManagementException
      MessageBox
.Show(ex.Message)
      
End Try 

I'll remember it for next time. Thanks
(Sep 15, 2014 01:37 PM)[ MVP ] MalRoto Wrote:  I'll remember it for next time. Thanks

Also I found two other places with the same exact code.

Did you just copy/paste this?

http://forum.arduino.cc/index.php/topic,257930.0.html
http://www.windows-tech.info/7/4d6479e10...f.php#wrap
http://social.microsoft.com/Forums/en-US...vblanguage
http://stackoverflow.com/questions/24963...ing-vb-net

And a ton more.
[Image: vjPWhyy.gif]
(Sep 15, 2014 01:42 PM)$lick Wrote:  Also I found two other places with the same exact code.

Did you just copy/paste this?

http://forum.arduino.cc/index.php/topic,257930.0.html
http://www.windows-tech.info/7/4d6479e10...f.php#wrap
http://social.microsoft.com/Forums/en-US...vblanguage
http://stackoverflow.com/questions/24963...ing-vb-net

And a ton more.

I never said I coded it, I stated I was planning on making a clone of Speccy but lost interest. It is meant to just be a module/plugin for a project someone may work on.
So its basically copy and pasted? I'm sure if someone needed this they could have found a source elsewhere.
(Sep 15, 2014 02:13 PM)Gasp Wrote:  So its basically copy and pasted? I'm sure if someone needed this they could have found a source elsewhere.

Does it matter? He released it here. Since he didn't claim it to be his, I don't see the issue.
(Sep 15, 2014 03:57 PM)PapaBeans Wrote:  Does it matter? He released it here. Since he didn't claim it to be his, I don't see the issue.

Yes it does matter. Why do we want a release of something we already seen hundreds of times? We don't need junk posting. We have enough of that.
(Sep 15, 2014 08:28 PM)tweety Wrote:  Yes it does matter. Why do we want a release of something we already seen hundreds of times? We don't need junk posting. We have enough of that.

The search function doesn't work for me, but when I use Google I see one release for a temperature monitor on hackforums. I don't see hundreds
(Sep 16, 2014 03:49 AM)PapaBeans Wrote:  The search function doesn't work for me, but when I use Google I see one release for a temperature monitor. I don't see hundreds

You must be really bad at google then.

I find 100s of results.
[Image: vjPWhyy.gif]
(Sep 16, 2014 03:49 AM)$lick Wrote:  You must be really bad at google then.

I find 100s of results.

Can you post a few from HF? If so this shouldn't be here, but my post says from hackforums
(Sep 16, 2014 03:52 AM)PapaBeans Wrote:  Can you post a few from HF? If so this shouldn't be here, but my post says from hackforums

Your post says from google.

https://hackforums.net/showthread.php?ti...pid6599218
https://hackforums.net/showthread.php?tid=3713040
https://hackforums.net/showthread.php?ti...id31109871
[Image: vjPWhyy.gif]


Possibly Related Threads...
Thread / Author Replies Views Last Post
by arul12Nov 23, 2023 10:10 AM 2 156 Nov 23, 2023 10:10 AM
Last Post: arul12
[C#] by autisticilabJan 12, 2018 10:34 AM 13 630 Jan 12, 2018 10:34 AM
Last Post: Ninja
[.NET] by NovaHowlDec 29, 2017 05:08 PM 5 244 Dec 29, 2017 05:08 PM
Last Post: NovaHowl