I tried searching the forum and I could not find my answer....I am wondering how I can place what the cpu is using in a status bar....I am using Vb 6.....
Printable View
I tried searching the forum and I could not find my answer....I am wondering how I can place what the cpu is using in a status bar....I am using Vb 6.....
cpu is using? you want to get the processes running?
Yelp I want to be able to place the cpu % usage in a StatusBar, but don't really know about how go about coding it into it.....
Check this link
http://www.freevbcode.com/ShowCode.asp?ID=1652
All i remember is you have to use....
vb Code:
Private Declare Function RegQueryValueEx Lib "advapi32.dll" Alias "RegQueryValueExA" (ByVal hKey As Long, ByVal lpValueName As String, ByVal lpReserved As Long, lpType As Long, lpData As Any, lpcbData As Long) As Long
But i am sure the link Amrita supplied you with will show how to use it :)