VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Fun with Clock

by C. Trizzle (1 Submission)
Category: Jokes/Humor
Compatability: VB Script
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (2 Votes)

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

Download Fun with Clock

Download Fun with Clock (3 KB)

Fun with Clock Comments

No comments have been posted about Fun with Clock. Why not be the first to post a comment about Fun with Clock.

Post your comment

Subject:
Message:
0/1000 characters