by Blue Phreak (2 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Fri 4th April 2003
Date Added: Mon 8th February 2021
Rating: (1 Votes)
The code asks weather or not the user wish's to exit the application. Useful for any type of application.
Dim strMsg As String
strMsg = MsgBox("Are you sure you wish to quit?", vbInformation + vbYesNo, "Exit")
If vbNo Then
Cancel = 1
End If
End Sub
No comments have been posted about The code asks weather or not the user wish's to exit the application. Useful for any type of applic. Why not be the first to post a comment about The code asks weather or not the user wish's to exit the application. Useful for any type of applic.