Sorry for my English - I can't it really good. It is translated with Google Translator.
I have tried to use the CoreTempInfoNET Library to read the Temperature.
Tried with this Code in VB2008:
I get an error at the commented position:Imports CoreTempInfoNET
Public Class Form1
Dim CTInfo As New CoreTempInfo
Private Sub Form1(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
End Class
Private Sub btn1_click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btn1.Click
lbl1.Text = CTInfo.GetTemp(0) ' Error
End Sub
End Class
The Object reference is not set to an object instance.
But I do not know where is my mistake.
Other Librarys works without problems!
Can you find my mistake?
regards
FranzBauer