I have a message box with the YesNoCancel buttons...
YesNoCancel
Yes
Use:
Dim n As String = MsgBox("Do you really want to exit?", MsgBoxStyle.YesNo, "Confirmation Dialog Box") If n = vbYes Then MsgBox("Current Form is closed....") Me.Close() 'Current Form Closed Yogi_Cottex.Show() 'Form Name.show() End If