VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Login username/password and opens another window and shuts login screen

by Peter Kelly (1 Submission)
Category: Encryption
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Fri 21st October 2005
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Login username/password and opens another window and shuts login screen

Rate Login username/password and opens another window and shuts login screen



'Create 2 text boxes named Text1 for username Text2 For password'
'Create a Command Button'
Private Sub Command1_Click()
If Text1.Text = "username" And Text2.Text = "password" Then
MsgBox "access granted"
Form2.Show
Form1.Hide
Else
MsgBox "access denied"
End If
End Sub

Download Snippet Download this snippet   Add to My Save List Add to My Saved Code

Login username/password and opens another window and shuts login screen Comments

No comments have been posted about Login username/password and opens another window and shuts login screen. Why not be the first to post a comment about Login username/password and opens another window and shuts login screen.

Post your comment

Subject:
Message:
0/1000 characters