Quick References
ADO
ASP
CSS2
HTML
JavaScript
Jet SQL
VBScript
WML
WMLScript
WSH
XHTML
XML DOM
XSLT
Features
Knowledge Base
Tutorials
Partners
ZVON.ORG
XML
Planet Source Code
VisualBuilder
Web Design
Your HTML Source
XML/XSLT Forums
ASPAlliance
Scripts
Programmers Heaven
Tek-Tips Forums
Developer Fusion
Code Project
All Constants
Color Constants
Comparison Constants
Date and Time Constants
Date Format Constants
Drive Object
FileAttribute Property
File Input/Output Constants
String Constants
Tristate Constants
VarType Constants
CONSTANTS: MsgBox
Implemented in version 2.0
MsgBox Constants
You may use either the CONSTANT (left column) or the VALUE (center column) in your code and get the same results.
Specifying buttons and icons:
CONSTANT
VALUE
DESCRIPTION
VBOKOnly
0
Show OK button
VBOKCancel
1
Show OK and cancel buttons
VBAbortRetryIgnore
2
Show abort, retry, ignore buttons
VBYesNoCancel
3
Show yes, no cancel buttons
VBYesNo
4
Show yes, no buttons
VBRetryCancel
5
Show retry, cancel buttons
VBCritical
16
Show critical message icon
VBQuestion
32
Show warning query button
VBExclaimation
48
Show warning message icon
VBInformation
64
Show information message icon
VBDefaultButton1
0
First button is default
VBDefaultButton2
256
Second button is default
VBDefaultButton3
512
Third button is default
VBDefaultButton4
768
Fourth button is default
Message box response modality:
CONSTANT
VALUE
DESCRIPTION
VBApplicationModal
0
Current application will not continue until user responds to message box
VBSystemModal
4098
No application will continue until user responds to message box
Return values identifying which buttons were selected:
CONSTANT
VALUE
DESCRIPTION
VBOK
1
OK Button selected
VBCancel
2
Cancel button selected
VBAbort
3
Abort button selected
VBRetry
4
Retry button selected
VBIgnore
5
Ignore button selected
VBYes
6
Yes button selected
VBNo
7
No button selected
Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information