by Pieter Philippaerts (3 Submissions)
Category: Windows System Services
Compatability: Visual Basic 3.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (19 Votes)
This program can query the CPU usage on Windows 9x *and* Windows NT systems.
Most examples don't work on NT4 or older (including the examples found here on vbcoders.com), but this code does. It does this by calling an undocumented function (the same function TaskManager uses to get various Windows information).
Download CPU Monitor (6 KB)