Monday 7 October 2013

Login Code

Design Form -

  1. Select 2 Text Box.
  2. Select 2 Label, First for User Name and Second for Password.
  3. Select 1 Button.
  4. 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