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]http://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]http://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]http://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
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"....
[IMG]http://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
