Steps:
1.) Open Visual Basics/Studio 2010
2.) Make a new Windows Form Application..
3.) Drag in a Textbox and a Button into the form.
4.) Double Click the button to open it's coding and write this below.
Tips: Textbox1 is the default name of the textbox. You can change it and common Abbreviation for it is TxtCode:If Textbox1.Text = "YourPasswordHere" Then Form2.Show() Else MsgBox("Incorrect Password.") 'Where form2 is you can make anything happen when the password is entered. Form2 should be your main form 'This Else statement means anything other then the password will result in this messagebox appearing when the user clicks the button.
The button Abbreviation is Btn
It's really just the shortening!
I am making this tutorial dedicated to the wonderful community on this website, and I wish to pursue in helping people like they helped me. Starting my first tutorial here.
I have only tested this on Visual Studio 2010, This may work on visual basics 2008
If you like this tutorial, and you like my work Please leave your support! If you want more simple tutorials, I will be willing to make them for those who request them. Please remember! Making these tutorials is a Hobby and is done at school. I may not get too all if it gets really full. Don't hesitate to ask below!


Reply With Quote

I really really like your idea though.

