Using the CPULoad class from this thread:
http://www.vbforums.com/showthread.php?t=324335
Printable View
Using the CPULoad class from this thread:
http://www.vbforums.com/showthread.php?t=324335
I took the liberty of adapting CVMichael's work to my own needs - I encapsulated this functionality into a stand-alone component, SmartControls.ResourceMonitor.
I left the .CLS file exactly as CVM originally created it, and wrapped it up in a UserControl.
Here is the full project (complete with Toolbar bitmap!) SmartControls.vbp and even a sample driver project TaskMonTest.vbp.
Attached are both projects, and a sample pic of the control in action. You will have some trouble getting the sample project to work until you re-compile the component for yourself.
Update:
When you unzip the file, you can open up the TaskMonTest.vbp by 2x clicking it, and the do a File->Add Project and add the SmartControls.vbp project second.
Then hit F5 and you should see the sample in action without compiling the binary.