News:

Holy shit, it's 2018 2019 2020 2021 2022 2023 2024, and the US isn't a fascist country! What a time to be alive.

Main Menu

[VB6] GTC Systray Uptime!

Started by Joe, September 22, 2005, 06:00:55 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Joe

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!
Quote from: Camel on June 09, 2009, 04:12:23 PMI'd personally do as Joe suggests

Quote from: AntiVirus on October 19, 2010, 02:36:52 PM
You might be right about that, Joe.