VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Simple Login Script, if the username and or password is wrong you have to try again, if there right

by Myles Newton (8 Submissions)
Category: Encryption
Compatability: Visual Basic 4.0 (32-bit)
Difficulty: Unknown Difficulty
Originally Published: Sun 6th May 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Simple Login Script, if the username and or password is wrong you have to try again, if there right it loads form2!

Rate Simple Login Script, if the username and or password is wrong you have to try again, if there right



'Create a command button
'Insert This code in the command1_click Event
   If Text1.Text = "user1" And Text2.Text = "password" Then
MsgBox("Welcome, Your Login Is Correct!")
'Change the user1 to the users name and password to the desired password
'Now Create Another Form and this will be the form that loads if the password is correct!
Load form2
form2.Show
Unload form1
Else
MsgBox("Sorry You Entered The Wrong User Name And Or Password! Please Try Again")
'To Create More Users Just Copy the if text1.text = stuff down to the unload login then paste it above and change the first word "If" To "ElseIf"
'Made By Myles Newton 
'Email [email protected] for more great scripts!

Download this snippet    Add to My Saved Code

Simple Login Script, if the username and or password is wrong you have to try again, if there right Comments

No comments have been posted about Simple Login Script, if the username and or password is wrong you have to try again, if there right. Why not be the first to post a comment about Simple Login Script, if the username and or password is wrong you have to try again, if there right.

Post your comment

Subject:
Message:
0/1000 characters