by Vineeth Venugopal (7 Submissions)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Mon 5th October 2009
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Makes a command button go crazy
API Declarations
'add a command button and a timer
'set the timer interval to 100
'paste the code below in the timer and then run the program
Command1.Top = Int(Rnd * 2600)
Command1.Left = Int(Rnd * 3400)