You can do it only at a a very low level. Here's a dll (and the whole c++ project). This was first put together by another poster earlier this year. Copy the dll to the system directory.
Usage in VB:
Code:
Private Declare Function GetCpuSpeed Lib "CpuSpeed" () As Long
Private Sub Form_Load()
Text1.Text = CStr(GetCpuSpeed) & "MHz"
End Sub
thanks for your help.
I saw this answer already but I thought that there is might be an easier way, maybe with an api or something.
beside, this solution give me only an approximate answer.