Exclamation[PIC TuT] Login screen

Posts 1–3 of 3 · Page 1 of 1
[PIC TuT] Login screen
OK so here its is and im sure its been asked for and maybe even done but here it is for vb8

First open and start a project.......



Now make 2 buttens 2 textboxes 2 labels. Name 1 of the buttens OK and the other Cancle,1 lable username and 1 password.....



Now that u ahve that done duble click the "OK" butten and this should pop up.....



Ok now click under the line that says "Private Sub Button1_Click" and add this code
If TextBox1.Text = "Username goes here" Then
If TextBox2.Text = "Password goes here" Then
MsgBox(""UR msg to them")
Form2.show()
Me.Hide()
Else
MsgBox("Urmsg to them")
End If
End If
End Sub
End Class
Any thing in RED is what u put in
Now u have a login form just add the 2 form in to ur project and it should work.....
If u want the password to be in that stare thing (*) THing do this
Click Textbox2 and look to the left at the property section and find "passwordchar"....



AND put in ur (*) thing and ur done

Hope this helped if u need mor ehelp pm me or hit me on Xfire
Xfire:m60machine
If this helped plz thank me it toke some time
Be more specific man, also say HOW to make labels and textboxes and stuff, this could be usefull for nubs to!
this guide is for typing your Username and Password, after you execute enter, it will show the message

like example ..

Username : madness
Password : imstrong

message display : madness is handsome yet a strong guy << if only you type like this MsgBox("madness is handsome yet a strong guy")
Posts 1–3 of 3 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

Need help?