Hi Everyone I am trying to use Messagebox.show to show on the exit button to show user when its clicked to give a warning saying do you want to exit yes,no or cancel but messagebox.show i get a blue line under the whole line, PS msgbox works but i have to use messagebox.
Private Sub cmdExit_Click(sender As Object, e As EventArgs) Handles cmdExit.Click
Dim intresponse As Integer
intresponse = MessageBox.Show("Are you sure you want to exit the program?",
vbYesNo + vbQuestion, "Warning!")
Private Sub cmdExit_Click(sender As Object, e As EventArgs) Handles cmdExit.Click
Dim intresponse As Integer
intresponse = MessageBox.Show("Are you sure you want to exit the program?",
vbYesNo + vbQuestion, "Warning!")