Be more specific man, also say HOW to make labels and textboxes and stuff, this could be usefull for nubs to!
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.......
[IMG]https://i279.photobucke*****m/albums/kk138/bap159/TuTpic1.jpg[/IMG]
Now make 2 buttens 2 textboxes 2 labels. Name 1 of the buttens OK and the other Cancle,1 lable username and 1 password.....
[IMG]https://i279.photobucke*****m/albums/kk138/bap159/TuTpic2.jpg[/IMG]
Now that u ahve that done duble click the "OK" butten and this should pop up.....
[IMG]https://i279.photobucke*****m/albums/kk138/bap159/TuTpic3.jpg[/IMG]
Ok now click under the line that says "Private Sub Button1_Click" and add this code
Any thing in RED is what u put inIf 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
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"....
[IMG]https://i279.photobucke*****m/albums/kk138/bap159/IDFC.jpg[/IMG]
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
Last edited by m60; 12-03-2008 at 04:59 PM.
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")