Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. VBDude

    Finding CPU Utilization

    refer to Performance monitor for the values in the parameters.<br> <br> Data = PerfData("MachName", "Object", "Instance", "Counter", QHndl, CHndl)<br> <br> You have to reuse the QHndl and CHndl or you will run out of resources.
  2. VBDude

    Finding CPU Utilization

    The following code works for me:<br> <br> Put this code in .bas Module:<br> <br> Private Declare Function PdhConnectMachine Lib "Pdh.Dll" Alias "PdhConnectMachineA" (ByVal MachName As String) As Long<br> <br> <br> '<br> ' Visual Basic 4.0 definitions file for use with<br> ' PDH.DLL...

Part and Inventory Search

Back
Top