VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



A button game.Can be used as an excellent prank.

by Varun Godbole (15 Submissions)
Category: Math/Dates
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Sat 11th November 2006
Date Added: Mon 8th February 2021
Rating: (1 Votes)

A button game.Can be used as an excellent prank.

Rate A button game.Can be used as an excellent prank.



Private Sub Command1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)

    Command1.Enabled = False
    Command2.Enabled = True
End Sub



Private Sub Command2_Click()

    MsgBox "You Win!!!!!!!!!.", vbInformation + vbOKOnly, "You Win!!!!."
    End
End Sub



Private Sub command1_click()

    MsgBox "You Win!!!!!!!!!.", vbInformation + vbOKOnly, "You Win!!!!."
    End
End Sub



Private Sub Command2_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)

    Command1.Enabled = True
    Command2.Enabled = False
End Sub



Private Sub Form_Load()

    MsgBox "The aim of this game is To press the button", vbInformation + vbOKOnly, "Instructions"
End Sub



Download this snippet    Add to My Saved Code

A button game.Can be used as an excellent prank. Comments

No comments have been posted about A button game.Can be used as an excellent prank.. Why not be the first to post a comment about A button game.Can be used as an excellent prank..

Post your comment

Subject:
Message:
0/1000 characters