I couldn't find any working answers for this, so I finally am asking it here. I have been working on a Calculator for a while in Visual Studio 2013. In that Calculator program, I have a Quit button. I want it to be so when a user clicks on "Quit" it has a popup that asks if they are sure, and then I want "OK" to close the program and "Cancel" to bring them back. I have the following code-
Private Sub Button18_Click(ByVal Sender As System.Object, ByVal e As System.EventArgs) Handles Button18.Click
MsgBox("Are you sure you would like to Quit?", 1 + 16, "Quit")
End Sub
I have no clue how to make this work, so please answer, if you can help!