VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Fun with Clock

C. Trizzle  (1 Submission)   Jokes/Humor   VB Script   Beginner   Wed 3rd February 2021

A humourous program which rapidly alters System Time/Date via API to produce amusing effect on Traybar Clock. Settings Fast Forward / Rewind / or Random.
Tested only on WinXP, may require administator rights in some OS's. Restoring the correct time/date after using this is your job.
Disclaimer -
Many portions of the operating system and 3rd party programs rely on system time to function correctly. Setting an invalid Time/Date might even cause computer to reboot. The author is not responsible for any damages that this program may cause. My intention is to demonstrate an amusing effect on Traybar Clock.

Side Effects
Many portions of the operating system and 3rd party programs rely on system time to function correctly. Setting an invalid Time/Date might even cause computer to reboot. The author is not responsible for any damages that this program may cause. My intention is to demonstrate an amusing effect on Traybar Clock.

API Declarations
Private Declare Function SetSystemTime Lib "kernel32" (lpSystemTime As SYSTEMTIME) As Long
Private Declare Function RegisterHotKey Lib "user32" (ByVal hWnd As Long, ByVal id As Long, ByVal fsModifiers As Long, ByVal vk As Long) As Long
Private Declare Function UnregisterHotKey Lib "user32" (ByVal hWnd As Long, ByVal id As Long) As Long
Private Declare Function PeekMessage Lib "user32" Alias "PeekMessageA" (lpMsg As Msg, ByVal hWnd As Long, ByVal wMsgFilterMin As Long, ByVal wMsgFilterMax As Long, ByVal wRemoveMsg As Long) As Long
Private Declare Function WaitMessage Lib "user32" () As Long

Rate Fun with Clock (3(3 Vote))

Download Fun with Clock

Fun with Clock Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters