VBA, COM interface constants for VB.Net / VBScript

VBA - interface constants

     This page contains simple VBA include for the VBA COM library.

library parameters

File NameWINDOWS\system32\dllcache\expsrv.dll
Guid{000204EF-0000-0000-C000-000000000046}
Enums15

VbVarType

enum, 18 members.
  'Predefined constants
Public Enum VbVarType

  'Return value constant for VarType
  vbEmpty = 0  '&H0

  'Return value constant for VarType
  vbNull = 1  '&H1

  'Return value constant for VarType
  vbInteger = 2  '&H2

  'Return value constant for VarType
  vbLong = 3  '&H3

  'Return value constant for VarType
  vbSingle = 4  '&H4

  'Return value constant for VarType
  vbDouble = 5  '&H5

  'Return value constant for VarType
  vbCurrency = 6  '&H6

  'Return value constant for VarType
  vbDate = 7  '&H7

  'Return value constant for VarType
  vbString = 8  '&H8

  'Return value constant for VarType
  vbObject = 9  '&H9

  'Return value constant for VarType
  vbError = 10  '&HA

  'Return value constant for VarType
  vbBoolean = 11  '&HB

  'Return value constant for VarType
  vbVariant = 12  '&HC

  'Return value constant for VarType
  vbDataObject = 13  '&HD

  'Return value constant for VarType
  vbDecimal = 14  '&HE

  'Return value constant for VarType
  vbByte = 17  '&H11

  'Return value constant for VarType
  vbUserDefinedType = 36  '&H24

  'Return value constant for VarType
  vbArray = 8192  '&H2000
End Enum

VbMsgBoxStyle

enum, 20 members.
  'Predefined constants
Public Enum VbMsgBoxStyle

  'Buttons argument constant for MsgBox
  vbOKOnly = 0  '&H0

  'Buttons argument constant for MsgBox
  vbOKCancel = 1  '&H1

  'Buttons argument constant for MsgBox
  vbAbortRetryIgnore = 2  '&H2

  'Buttons argument constant for MsgBox
  vbYesNoCancel = 3  '&H3

  'Buttons argument constant for MsgBox
  vbYesNo = 4  '&H4

  'Buttons argument constant for MsgBox
  vbRetryCancel = 5  '&H5

  'Buttons argument constant for MsgBox
  vbCritical = 16  '&H10

  'Buttons argument constant for MsgBox
  vbQuestion = 32  '&H20

  'Buttons argument constant for MsgBox
  vbExclamation = 48  '&H30

  'Buttons argument constant for MsgBox
  vbInformation = 64  '&H40

  'Buttons argument constant for MsgBox
  vbDefaultButton1 = 0  '&H0

  'Buttons argument constant for MsgBox
  vbDefaultButton2 = 256  '&H100

  'Buttons argument constant for MsgBox
  vbDefaultButton3 = 512  '&H200

  'Buttons argument constant for MsgBox
  vbDefaultButton4 = 768  '&H300

  'Buttons argument constant for MsgBox
  vbApplicationModal = 0  '&H0

  'Buttons argument constant for MsgBox
  vbSystemModal = 4096  '&H1000

  'Buttons argument constant for MsgBox
  vbMsgBoxHelpButton = 16384  '&H4000

  'Buttons argument constant for MsgBox
  vbMsgBoxRight = 524288  '&H80000

  'Buttons argument constant for MsgBox
  vbMsgBoxRtlReading = 1048576  '&H100000

  'Buttons argument constant for MsgBox
  vbMsgBoxSetForeground = 65536  '&H10000
End Enum

VbMsgBoxResult

enum, 7 members.
  'Predefined constants
Public Enum VbMsgBoxResult

  'Return value constant for MsgBox
  vbOK = 1  '&H1

  'Return value constant for MsgBox
  vbCancel = 2  '&H2

  'Return value constant for MsgBox
  vbAbort = 3  '&H3

  'Return value constant for MsgBox
  vbRetry = 4  '&H4

  'Return value constant for MsgBox
  vbIgnore = 5  '&H5

  'Return value constant for MsgBox
  vbYes = 6  '&H6

  'Return value constant for MsgBox
  vbNo = 7  '&H7
End Enum

VbFileAttribute

enum, 8 members.
  'Predefined constants
Public Enum VbFileAttribute

  'Attributes argument constant for Dir, GetAttr, or SetAttr
  vbNormal = 0  '&H0

  'Attributes argument constant for  GetAttr or SetAttr
  vbReadOnly = 1  '&H1

  'Attributes argument constant for Dir, GetAttr, or SetAttr
  vbHidden = 2  '&H2

  'Attributes argument constant for Dir, GetAttr, or SetAttr
  vbSystem = 4  '&H4

  'Attributes argument constant for Dir or GetAttr
  vbVolume = 8  '&H8

  'Attributes argument constant for Dir or GetAttr
  vbDirectory = 16  '&H10

  'Attributes argument constant for Dir, GetAttr, or SetAttr
  vbArchive = 32  '&H20

  'Attributes argument constant for Dir or GetAttr
  vbAlias = 64  '&H40
End Enum

VbStrConv

enum, 9 members.
  'Predefined constants
Public Enum VbStrConv

  'Conversion argument constant for StrConv
  vbUpperCase = 1  '&H1

  'Conversion argument constant for StrConv
  vbLowerCase = 2  '&H2

  'Conversion argument constant for StrConv
  vbProperCase = 3  '&H3

  'Conversion argument constant for StrConv
  vbWide = 4  '&H4

  'Conversion argument constant for StrConv
  vbNarrow = 8  '&H8

  'Conversion argument constant for StrConv
  vbKatakana = 16  '&H10

  'Conversion argument constant for StrConv
  vbHiragana = 32  '&H20

  'Conversion argument constant for StrConv
  vbUnicode = 64  '&H40

  'Conversion argument constant for StrConv
  vbFromUnicode = 128  '&H80
End Enum

VbDayOfWeek

enum, 8 members.
  'Predefined constants
Public Enum VbDayOfWeek

  'FirstDayOfWeek or FirstWeekOfYear constant
  vbUseSystemDayOfWeek = 0  '&H0

  'FirstDayOfWeek constant
  vbSunday = 1  '&H1

  'FirstDayOfWeek constant
  vbMonday = 2  '&H2

  'FirstDayOfWeek constant
  vbTuesday = 3  '&H3

  'FirstDayOfWeek constant
  vbWednesday = 4  '&H4

  'FirstDayOfWeek constant
  vbThursday = 5  '&H5

  'FirstDayOfWeek constant
  vbFriday = 6  '&H6

  'FirstDayOfWeek constant
  vbSaturday = 7  '&H7
End Enum

VbFirstWeekOfYear

enum, 4 members.
  'Predefined constants
Public Enum VbFirstWeekOfYear

  'FirstDayOfWeek or FirstWeekOfYear constant
  vbUseSystem = 0  '&H0

  'FirstWeekOfYear constant
  vbFirstJan1 = 1  '&H1

  'FirstWeekOfYear constant
  vbFirstFourDays = 2  '&H2

  'FirstWeekOfYear constant
  vbFirstFullWeek = 3  '&H3
End Enum

VbIMEStatus

enum, 20 members.
  'Predefined constants
Public Enum VbIMEStatus

  'Argument constant for IMEStatus
  vbIMENoOp = 0  '&H0

  'Argument constant for IMEStatus
  vbIMEModeNoControl = 0  '&H0

  'Argument constant for IMEStatus
  vbIMEOn = 1  '&H1

  'Argument constant for IMEStatus
  vbIMEModeOn = 1  '&H1

  'Argument constant for IMEStatus
  vbIMEOff = 2  '&H2

  'Argument constant for IMEStatus
  vbIMEModeOff = 2  '&H2

  'Argument constant for IMEStatus
  vbIMEDisable = 3  '&H3

  'Argument constant for IMEStatus
  vbIMEModeDisable = 3  '&H3

  'Argument constant for IMEStatus
  vbIMEHiragana = 4  '&H4

  'Argument constant for IMEStatus
  vbIMEModeHiragana = 4  '&H4

  'Argument constant for IMEStatus
  vbIMEKatakanaDbl = 5  '&H5

  'Argument constant for IMEStatus
  vbIMEModeKatakana = 5  '&H5

  'Argument constant for IMEStatus
  vbIMEKatakanaSng = 6  '&H6

  'Argument constant for IMEStatus
  vbIMEModeKatakanaHalf = 6  '&H6

  'Argument constant for IMEStatus
  vbIMEAlphaDbl = 7  '&H7

  'Argument constant for IMEStatus
  vbIMEModeAlphaFull = 7  '&H7

  'Argument constant for IMEStatus
  vbIMEAlphaSng = 8  '&H8

  'Argument constant for IMEStatus
  vbIMEModeAlpha = 8  '&H8

  'Argument constant for IMEStatus
  vbIMEModeHangulFull = 9  '&H9

  'Argument constant for IMEStatus
  vbIMEModeHangul = 10  '&HA
End Enum

VbAppWinStyle

enum, 6 members.
  'Predefined constants
Public Enum VbAppWinStyle

  'Argument constant for Shell
  vbHide = 0  '&H0

  'Argument constant for Shell
  vbNormalFocus = 1  '&H1

  'Argument constant for Shell
  vbMinimizedFocus = 2  '&H2

  'Argument constant for Shell
  vbMaximizedFocus = 3  '&H3

  'Argument constant for Shell
  vbNormalNoFocus = 4  '&H4

  'Argument constant for Shell
  vbMinimizedNoFocus = 6  '&H6
End Enum

VbCompareMethod

enum, 3 members.
  'Predefined constants
Public Enum VbCompareMethod

  'vbBinaryCompare constant
  vbBinaryCompare = 0  '&H0

  'vbTextCompare constant
  vbTextCompare = 1  '&H1

  'vbDatabaseCompare constant
  vbDatabaseCompare = 2  '&H2
End Enum

VbCalendar

enum, 2 members.
  'Predefined constants
Public Enum VbCalendar

  'Constant for specifying Gregorian Calendar
  vbCalGreg = 0  '&H0

  'Constant for specifying Hijri Calendar
  vbCalHijri = 1  '&H1
End Enum

VbDateTimeFormat

enum, 5 members.
  'Predefined constants
Public Enum VbDateTimeFormat
  vbGeneralDate = 0  '&H0
  vbLongDate = 1  '&H1
  vbShortDate = 2  '&H2
  vbLongTime = 3  '&H3
  vbShortTime = 4  '&H4
End Enum

VbTriState

enum, 3 members.
  'Predefined constants
Public Enum VbTriState
  vbUseDefault = -2  '&HFFFFFFFE
  vbTrue = -1  '&HFFFFFFFF
  vbFalse = 0  '&H0
End Enum

VbCallType

enum, 4 members.
  'Predefined constants
Public Enum VbCallType
  VbMethod = 1  '&H1
  VbGet = 2  '&H2
  VbLet = 4  '&H4
  VbSet = 8  '&H8
End Enum

Constants

module, 11 members.
  'Predefined constants
Public Enum Constants

  'Constant indicating error is being returned from a Visual Basic object
  vbObjectError = -2147221504  '&H80040000

  'Constant for  use when calling external procedures requiring a string whose value is zero
  vbNullString = "" 

  'Basic constant for a single Null character (ASCII value 0); equivalent to Chr$(0)
  vbNullChar = "" 

  'Constant for Carriage-return/Linefeed combination; equivalent of Chr$(13)+Chr$(10)
  vbCrLf = "
" 

  'Constant for NewLine; platform specific 
  vbNewLine = "
" 

  'Constant for carriage return (without linefeed); equivalent to Chr$(13)
  vbCr = "
" 

  'Constant for linefeed (without carriage return); equivalent to Chr$(10)
  vbLf = "
" 

  'Constant for backspace character; equivalent to Chr$(8)
  vbBack = "" 

  'Constant for form feed (ASCII 12); equivalent to Chr$(12)
  vbFormFeed = "" 

  'Constant for Tab character (ASCII 9); equivalent to Chr$(9)
  vbTab = "	" 

  'Constant for vertical Tab (ASCII 11) character; equivalent to Chr$(11)
  vbVerticalTab = "" 
End Enum
WUtils.com