This is my code under the btnSubmit_Click :
If (txtBox1.Text = "user") AND (txtBox2.Text = "1234") Then
MsgBox("Valid User")
Else
MsgBox("Invalid User")
End If
The problem is...if the MsgBox("Invalid User") comes out until 3 times, another Message Box will come out. How to do that?
If (txtBox1.Text = "user") AND (txtBox2.Text = "1234") Then
MsgBox("Valid User")
Else
MsgBox("Invalid User")
End If
The problem is...if the MsgBox("Invalid User") comes out until 3 times, another Message Box will come out. How to do that?