Results 1 to 7 of 7

Thread: I have another question! Please help!

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2012
    Posts
    6

    I have another question! Please help!

    I have another question for my game. (You can download the demo here: http://www.vbforums.com/showthread.php?686607)

    In the game you find a note with a code to open the safe. The code is 131288, but how can I make that when you enter the code, you only go to the next screen when you enter the right code and when it's anything different that 131288 that it displays a messagebox with 'That's the wrong code' or something. This is what the screen looks like:



    Right now if you type just 1 character in, it automatically goes to the next screen. This is the code:

    Code:
        Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
            Me.Hide()
            Form10.Show()
        End Sub
    Can someone help me? Thanks in advance!
    Last edited by Kiekoes; Aug 9th, 2012 at 06:34 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width