Author Topic: [VB6] GTC Systray Uptime!  (Read 3742 times)

0 Members and 1 Guest are viewing this topic.

Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
[VB6] GTC Systray Uptime!
« on: September 22, 2005, 06:00:55 pm »
http://www.javaop.com/~joe/VB6/SystrayUptime.zip
Source and binary included.

This does some nifty little API calls and makes a tray icon. It displays the system uptime (now "System uptime: 4 days, 1 hour, and 40 minutes") to minute precision as the toopltip. I had it to milisecond precision, but when you moused over it, it was gone before you had the chance to look at the tooltip (it deletes+remakes). Anyhow, it updates every 30,000 miliseconds (30s).

Its a set it and forget it program. No message boxes, no ugly form (shown =p). Stick it in your startup folder and enjoy!
I'd personally do as Joe suggests

You might be right about that, Joe.