Hello im kinda new to vb.net or any coding anyone can tell whats wrong with this one :

  Kiến thức lập trình
    If stUsername.Length > 5 AndAlso
       stPassword.Length > 8 Then
        Form3.Show()
    Else
        Form2.Show()
    End If
End Sub

End Class
It keeps showing form2 any advice can help thank you.

to show form 3 if stUsername.Length > 5 and stPassword.Length > 8 show form3 and if < show form2

New contributor

zestyasf is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

LEAVE A COMMENT