Whats needed
2 Textboxes
1 Button
and 2 Labels
source code
if Texbox1.text= "admin" and TextBox2.text = "admin Then
Form2.show
Else
MsgBox("Sorry, username or password not found", MsgBoxStyle.OkOnly, "Invalid")
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
End Sub
End Class
2 Textboxes
1 Button
and 2 Labels
source code
if Texbox1.text= "admin" and TextBox2.text = "admin Then
Form2.show
Else
MsgBox("Sorry, username or password not found", MsgBoxStyle.OkOnly, "Invalid")
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
End Sub
End Class