Hi,
I am trying to make a quiz and i want it so, that if you get the correct answer you go to the next form and close the previous one but if not, it will make pop-up box that goes back to the question when pressed OK. Here is what i have so far:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If (TextBox1.Text = "yes") Then Form3.Show() Else
MessageBox.Show("Try Again", "Incorrect", MessageBoxButtons.OK, MessageBoxIcon.Information)
Any help would be greatly appreciated!