Design Form -
- Select 2 Text Box.
- Select 2 Label, First for User Name and Second for Password.
- Select 1 Button.
- Select 2 Forms first for code and second for next form,
Code-
Private Sub Command1_Click()If Text1.Text = "admin" And Text2.Text = "shelu" = True Then
Form12.Show
Form1.Hide
End If
End Sub
No comments:
Post a Comment