how do i make it, if the user clicks no then it will just close the MsgBox
and if they click yes then
it will (ex) goto form2
Code:
Dim Answer As Integer = MessageBox.Show("Yes or No?", "", MessageBoxButtons.YesNo)
If Answer = 6 Then ' Yes is pressed
'Do something
Else ' No is pressed
'Do something
End If
[php]
If MessageBox.Show("Text", "Title", MessageBoxButtons.YesNo, MessageBoxIcon.Asterisk) = Windows.Forms.DialogResult.Yes Then