Ok so in this Tutorial i am showing you how to make a login in Visual basic 2008.
NOTE: this is NOT how to make a login for gaia.
Ok so what you will mainly need is
2 labels
2 textbox's
1 button
1 brain
Ok so first off. Make sure you Put Char on the Textbox 2. Since its the password.
Ok so after that Code the button as.
Test it out. If it works rep.Code:If TextBox1.Text = "username" And TextBox2.Text = "password" Then MessageBox.Show("logged in!") Else MessageBox.Show("Fail") End If
Also You can change the "username" and password. If can be anything. But it has to have the " in the Coding. You don't put it in the Textbox's.
Soon to show you how to make it open up a new form and such.
Results 1 to 8 of 8
Threaded View
- 26 Jun. 2011 02:36am #1
[TuT] How to make a login. First one!