Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

MsgBox Result Constant Changes in Visual Basic .NET

The following table shows the Visual Basic 6.0 MsgBox Result constants and their Visual Basic .NET equivalents.

Note   For backward compatibility, the Visual Basic 6.0 MsgBox Result constants may also be used in Visual Basic .NET.
Visual Basic 6.0Visual Basic .NET Equivalent
vbOKMsgBoxResult.OK
vbCancelMsgBoxResult.Cancel
vbAbortMsgBoxResult.Abort
vbRetryMsgBoxResult.Retry
vbIgnoreMsgBoxResult.Ignore
vbYesMsgBoxResult.Yes
vbNoMsgBoxResult.No

See Also

Constant Changes in Visual Basic .NET | MsgBoxResult Enumeration | Constants and Enumerations

Show:
© 2015 Microsoft