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
- 26 Jun. 2011 02:36am #1
[TuT] How to make a login. First one!
- 26 Jun. 2011 03:46am #2
Nice tutorial, however very easy to crack :p
- 26 Jun. 2011 12:41pm #3
- 27 Jun. 2011 09:04pm #4
- 27 Jun. 2011 11:37pm #5
- 28 Jun. 2011 09:10pm #6
There's different ways to authenticate. You definitely want to do the authentication behind a server. Be aware that you can only make it difficult for people to crack/bypass your authentications, not impossible.
- 28 Jun. 2011 09:11pm #7
- 28 Jun. 2011 11:32pm #8
Could use a HWID to protect. Even if they had the Username/Password a HWID would protect it. But if you did HWID Protect it, you might as well save the Username and password on the server anyways.
Nice basic tutorial though, so I wouldn't expect any form of real encryption with this.