Search Tools Links Login

System Monitor 2k - View CPU Usage, kb/s in Internet connections, etc.


Visual Basic 6, or VB Classic

Similar to the System Monitor application found in Windows, this ActiveX DLL (source included) lets you include a CPU Usage monitor, lets you see the amount of bytes sent/received per second over the Internet, the amount of bytes read/written per second on a drive, or anything else that you see in Windows' System Monitor!
Usage:
Dim SysMon As New SysMon
CPUUsage=SysMon("KERNEL")("CPUUsage")
NetKBReadPerSec=SysMon("Dial-Up Adapter")("BytesRecvd")
NetKBTransmitPerSec=SysMon("Dial-Up Adapter")("BytesXmit")
It's that simple!
Not too commented but it's VERY easy to use.
Also, IT MAY NOT WORK IN WINDOWS NT, because NT uses a HKEY_PERFORMANCE_DATA key instead of HKEY_DYN_DATA, and I don't have NT to see the structure of it, if anyone makes modifications for it to run in NT please post them here.
Enjoy!

Original Author: AndrComm

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 102 times

Categories

Visual Basic 6

Attachments

CODE_UPLOAD1220211302000.zip
Posted: 9/3/2020 3:45:00 PM
Size: 14,917 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.