VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Easily display 'Exit?' message box with one procedure, asks if user would like to exit the program,

by yar-interactive software (2 Submissions)
Category: Miscellaneous
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Wed 18th October 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Easily display 'Exit?' message box with one procedure, asks if user would like to exit the program, uses the specified application name.

Rate Easily display 'Exit?' message box with one procedure, asks if user would like to exit the program,



Dim M
M = MsgBox("Are you sure you want to exit " + AppName + "?", vbYesNo + vbExclamation, "Exit " + AppName + "?")
If M = vbYes Then End
ElseIf M = vbNo Then Exit Sub
'For more VB, great software and more goto http://www.yarinteractive.com
'The Homepage of yar-interactive software
End Sub

Download this snippet    Add to My Saved Code

Easily display 'Exit?' message box with one procedure, asks if user would like to exit the program, Comments

No comments have been posted about Easily display 'Exit?' message box with one procedure, asks if user would like to exit the program,. Why not be the first to post a comment about Easily display 'Exit?' message box with one procedure, asks if user would like to exit the program,.

Post your comment

Subject:
Message:
0/1000 characters