CyberCarsten
Nov 26th, 1999, 03:36 PM
Hi!
I have just maked a program
with password protection, but
the only password that works with
program is the one i have "set" .
How can i make the user change the
Username and Password??
I'm using the following code:
Private Sub Command1_Click()
Dim Login As Integer
If WRusername.Text = "Licensed" And WRpassword.Text = "ccwr" Then
Unload Me
WinRestrict.Show
Else
Login = MsgBox("Incorrect login!!", vbCritical)
WRusername.Text = ""
WRpassword.Text = ""
GoTo login2
End If
login2:
End Sub
WRusername & WRpassword are text fields (Text1)
Yours Sincierly
Cybercarsten
I have just maked a program
with password protection, but
the only password that works with
program is the one i have "set" .
How can i make the user change the
Username and Password??
I'm using the following code:
Private Sub Command1_Click()
Dim Login As Integer
If WRusername.Text = "Licensed" And WRpassword.Text = "ccwr" Then
Unload Me
WinRestrict.Show
Else
Login = MsgBox("Incorrect login!!", vbCritical)
WRusername.Text = ""
WRpassword.Text = ""
GoTo login2
End If
login2:
End Sub
WRusername & WRpassword are text fields (Text1)
Yours Sincierly
Cybercarsten