

If Me.TextBox1.Text = "" Or Me.TextBox2.Text = "" Then
MsgBox("Empty textbox!")
ElseIf Me.TextBox1.Text = "MPGH" And Me.TextBox2.Text = "test" Then
MsgBox("Successful login!")
Else
MsgBox("Unsuccesful login!", MsgBoxStyle.Critical)
End If




like it, my friend