VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Makes a command button go crazy

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


Rate Makes a command button go crazy



'paste the code below in the timer and then run the program
Command1.Top = Int(Rnd * 2600)
Command1.Left = Int(Rnd * 3400)



Download this snippet    Add to My Saved Code

Makes a command button go crazy Comments

No comments have been posted about Makes a command button go crazy. Why not be the first to post a comment about Makes a command button go crazy.

Post your comment

Subject:
Message:
0/1000 characters