- Home
·
- Miscellaneous
·
- Create a login form for your application using 2 text box's and 2 command buttons
Create a login form for your application using 2 text box's and 2 command buttons
Create a login form for your application using 2 text box's and 2 command buttons
Rate Create a login form for your application using 2 text box's and 2 command buttons
(1(1 Vote))
'label 1 button Login and 1 cancel
'for the cancel button type in...
Private Sub Command2_Click()
End
End Sub
'for the Login button type in....
Private Sub Command1_Click()
If Text1.Text = "your username here" And Text2.Text = "your password here" Then
Me.Hide
Form1.Show
Else
Me.Hide
MsgBox "Login Failed",vbCritical
End If
End Sub
Create a login form for your application using 2 text box's and 2 command buttons Comments
No comments yet — be the first to post one!
Post a Comment