Pepsiguy I post too much
Reputation: 0
Joined: 16 Aug 2007 Posts: 2016
|
Posted: Tue Dec 18, 2007 2:01 pm Post subject: Possiblity? |
|
|
using | Code: | 'Global Variables
Dim Username As String 'Username Variable
Dim Password As String 'Password Variable
Private Sub cmdLogin_Click()
Username = "Username" 'What the Username Variable is
Password = "Password" 'What the Password Variable is
'If Statement Starting Here
'It States that if the username is = to text box and password is = password text box, then it should login, else display error message!
If Username = Txtusername And Password = txtpassword Then
Form2.Show 'Shows the Login Success Form
Form1.Hide 'Hides the Login Screen
Else
'A Message box that displays you have entered the wrong username and password
MsgBox ("Try Again Leecher!")
End If
End Sub
Private Sub cmdClose_Click()
Unload Me 'Closes the program
End Sub
| to add multiplae USER's and Passes?
_________________
|
|