Constants Fields
.NET Framework 2.0
| Name | Description | |
|---|---|---|
| vbAbort | Indicates which button was pressed on a message box, returned by the MsgBox function. |
| vbAbortRetryIgnore | Indicates which buttons to display when calling the MsgBox function. |
| vbApplicationModal | Indicates which buttons to display when calling the MsgBox function. |
| vbArchive | Indicates the file attributes to use when calling file-access functions. |
| vbArray | Indicates the type of a variant object, returned by the VarType function. |
| vbBack | When you call print and display functions, you can use the following constants in your code in place of the actual values. |
| vbBinaryCompare | Indicates how to compare strings when calling comparison functions. |
| vbBoolean | Indicates the type of a variant object, returned by the VarType function. |
| vbByte | Indicates the type of a variant object, returned by the VarType function. |
| vbCancel | Indicates which button was pressed on a message box, returned by the MsgBox function. |
| vbCr | When you call print and display functions, you can use the following constants in your code in place of the actual values. |
| vbCritical | Indicates which buttons to display when calling the MsgBox function. |
| vbCrLf | When you call print and display functions, you can use the following constants in your code in place of the actual values. |
| vbCurrency | Indicates the type of a variant object, returned by the VarType function. |
| vbDate | Indicates the type of a variant object, returned by the VarType function. |
| vbDecimal | Indicates the type of a variant object, returned by the VarType function. |
| vbDefaultButton1 | Indicates which buttons to display when calling the MsgBox function. |
| vbDefaultButton2 | Indicates which buttons to display when calling the MsgBox function. |
| vbDefaultButton3 | Indicates which buttons to display when calling the MsgBox function. |
| vbDirectory | Indicates the file attributes to use when calling file-access functions. |
| vbDouble | Indicates the type of a variant object, returned by the VarType function. |
| vbEmpty | Indicates the type of a variant object, returned by the VarType function. |
| vbExclamation | Indicates which buttons to display when calling the MsgBox function. |
| vbFalse | Indicates a Boolean value or whether the default should be used when calling number-formatting functions. |
| vbFirstFourDays | Indicates the first week of the year to use when calling date-related functions. |
| vbFirstFullWeek | Indicates the first week of the year to use when calling date-related functions. |
| vbFirstJan1 | Indicates the first week of the year to use when calling date-related functions. |
| vbFormFeed | When you call print and display functions, you can use the following constants in your code in place of the actual values. |
| vbFriday | Indicates the first day of the week to use when calling date-related functions. |
| vbGeneralDate | Indicates how to display dates when calling the FormatDateTime function. |
| vbGet | Indicates the type of procedure being invoked when calling the CallByName function. |
| vbHidden | Indicates the file attributes to use when calling file-access functions. |
| vbHide | Indicates the window style to use for the invoked program when calling the Shell function. |
| vbHiragana | Indicates which type of conversion to perform when calling the StrConv function. |
| vbIgnore | Indicates which button was pressed on a message box, returned by the MsgBox function. |
| vbInformation | Indicates which buttons to display when calling the MsgBox function. |
| vbInteger | Indicates the type of a variant object, returned by the VarType function. |
| vbKatakana | Indicates which type of conversion to perform when calling the StrConv function. |
| vbLet | Indicates the type of procedure being invoked when calling the CallByName function. |
| vbLf | When you call print and display functions, you can use the following constants in your code in place of the actual values. |
| vbLinguisticCasing | Indicates which type of conversion to perform when calling the StrConv function. |
| vbLong | Indicates the type of a variant object, returned by the VarType function. |
| vbLongDate | Indicates how to display dates when calling the FormatDateTime function. |
| vbLongTime | Indicates how to display dates when calling the FormatDateTime function. |
| vbLowerCase | Indicates which type of conversion to perform when calling the StrConv function. |
| vbMaximizedFocus | Indicates the window style to use for the invoked program when calling the Shell function. |
| vbMethod | Indicates the type of procedure being invoked when calling the CallByName function. |
| vbMinimizedFocus | Indicates the window style to use for the invoked program when calling the Shell function. |
| vbMinimizedNoFocus | Indicates the window style to use for the invoked program when calling the Shell function. |
| vbMonday | Indicates the first day of the week to use when calling date-related functions. |
| vbMsgBoxHelp | Indicates which buttons to display when calling the MsgBox function. |
| vbMsgBoxRight | Indicates which buttons to display when calling the MsgBox function. |
| vbMsgBoxRtlReading | Indicates which buttons to display when calling the MsgBox function. |
| vbMsgBoxSetForeground | Indicates which buttons to display when calling the MsgBox function. |
| vbNarrow | Indicates which type of conversion to perform when calling the StrConv function. |
| vbNewLine | When you call print and display functions, you can use the following constants in your code in place of the actual values. |
| vbNo | Indicates which button was pressed on a message box, returned by the MsgBox function. |
| vbNormal | Indicates the file attributes to use when calling file-access functions. |
| vbNormalFocus | Indicates the window style to use for the invoked program when calling the Shell function. |
| vbNormalNoFocus | Indicates the window style to use for the invoked program when calling the Shell function. |
| vbNull | Indicates the type of a variant object, returned by the VarType function. |
| vbNullChar | When you call print and display functions, you can use the following constants in your code in place of the actual values. |
| vbNullString | When you call print and display functions, you can use the following constants in your code in place of the actual values. |
| vbObject | Indicates the type of a variant object, returned by the VarType function. |
| vbObjectError | When you call print and display functions, you can use the following constants in your code in place of the actual values. |
| vbOK | Indicates which button was pressed on a message box, returned by the MsgBox function. |
| vbOKCancel | Indicates which buttons to display when calling the MsgBox function. |
| vbOKOnly | Indicates which buttons to display when calling the MsgBox function. |
| vbProperCase | Indicates which type of conversion to perform when calling the StrConv function. |
| vbQuestion | Indicates which buttons to display when calling the MsgBox function. |
| vbReadOnly | Indicates the file attributes to use when calling file-access functions. |
| vbRetry | Indicates which button was pressed on a message box, returned by the MsgBox function. |
| vbRetryCancel | Indicates which buttons to display when calling the MsgBox function. |
| vbSaturday | Indicates the first day of the week to use when calling date-related functions. |
| vbSet | Indicates the type of procedure being invoked when calling the CallByName function. |
| vbShortDate | Indicates how to display dates when calling the FormatDateTime function. |
| vbShortTime | Indicates how to display dates when calling the FormatDateTime function. |
| vbSimplifiedChinese | Indicates which type of conversion to perform when calling the StrConv function. |
| vbSingle | Indicates the type of a variant object, returned by the VarType function. |
| vbString | Indicates the type of a variant object, returned by the VarType function. |
| vbSunday | Indicates the first day of the week to use when calling date-related functions. |
| vbSystem | Indicates the file attributes to use when calling file-access functions. |
| vbSystemModal | Indicates which buttons to display when calling the MsgBox function. |
| vbTab | When you call print and display functions, you can use the following constants in your code in place of the actual values. |
| vbTextCompare | Indicates how to compare strings when calling comparison functions. |
| vbThursday | Indicates the first day of the week to use when calling date-related functions. |
| vbTraditionalChinese | Indicates which type of conversion to perform when calling the StrConv function. |
| vbTrue | Indicates a Boolean value or whether the default should be used when calling number-formatting functions. |
| vbTuesday | Indicates the first day of the week to use when calling date-related functions. |
| vbUpperCase | Indicates which type of conversion to perform when calling the StrConv function. |
| vbUseDefault | Indicates a Boolean value or whether the default should be used when calling number-formatting functions. |
| vbUserDefinedType | Indicates the type of a variant object, returned by the VarType function. |
| vbUseSystem | Indicates the first week of the year to use when calling date-related functions. |
| vbUseSystemDayOfWeek | Indicates the first day of the week to use when calling date-related functions. |
| vbVariant | Indicates the type of a variant object, returned by the VarType function. |
| vbVerticalTab | When you call print and display functions, you can use the following constants in your code in place of the actual values. |
| vbVolume | Indicates the file attributes to use when calling file-access functions. |
| vbWednesday | Indicates the first day of the week to use when calling date-related functions. |
| vbWide | Indicates which type of conversion to perform when calling the StrConv function. |
| vbYes | Indicates which button was pressed on a message box, returned by the MsgBox function. |
| vbYesNo | Indicates which buttons to display when calling the MsgBox function. |
| vbYesNoCancel | Indicates which buttons to display when calling the MsgBox function. |
Reference
Constants ClassMicrosoft.VisualBasic Namespace
Other Resources
Constants Module (Visual Basic)AppWinStyle Enumeration
BuiltInRole Enumeration
CallType Enumeration
CompareMethod Enumeration
DateFormat Enumeration
DateInterval Enumeration
DueDate Enumeration
FileAttribute Enumeration
FirstDayOfWeek Enumeration
FirstWeekOfYear Enumeration
MsgBoxResult Enumeration
MsgBoxStyle Enumeration
OpenAccess Enumeration
OpenMode Enumeration
OpenShare Enumeration
Print and Display Constants
TriState Enumeration
VariantType Enumeration
VbStrConv Enumeration
Keywords and Members by Task
Visual Basic Language Keywords
Visual Basic Run-Time Library Members
Keywords Compared in Different Languages