VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



The code asks weather or not the user wish's to exit the application. Useful for any type of applic

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.

Rate The code asks weather or not the user wish's to exit the application. Useful for any type of applic



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

Download this snippet    Add to My Saved Code

The code asks weather or not the user wish's to exit the application. Useful for any type of applic Comments

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.

Post your comment

Subject:
Message:
0/1000 characters