If TextBox5.Text <> "y" Or TextBox2.Text <> "n" Then
MessageBox.Show("please input Y or N", "id10t error", MessageBoxButtons.OK, MessageBoxIcon.Error)
TextBox5.Select()
End If
thats what i'd figured out so far but of course it wont work because if it IS y then its not n so it will still display the error can someone please help me out with the right code?

New Topic/Question
Reply




MultiQuote




|