VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Useful code for using abort retry or ignore options.

by Brandon (46 Submissions)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Thu 15th March 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Useful code for using abort retry or ignore options.

API Declarations


Dim Response As Integer


Rate Useful code for using abort retry or ignore options.



'display message box
Dim Response As Integer
Response = MsgBox("Choose one of the following", vbAbortRetryIgnore, "Options")
Select Case Response
    Case vbAbort
        End 'Close and cancel
    Case vbRetry
        Msgbox "You retried"
    Case vbIgnore
        MsgBox "You ignored"
End Select
End Sub


Download this snippet    Add to My Saved Code

Useful code for using abort retry or ignore options. Comments

No comments have been posted about Useful code for using abort retry or ignore options.. Why not be the first to post a comment about Useful code for using abort retry or ignore options..

Post your comment

Subject:
Message:
0/1000 characters