The following is a list of VB enumerations, along with the VB constants that can be used in place of individual enumeration members. In a few cases, there seem to be missing VB intrinsic constants. These are marked with a question mark (?).
Note that all enumeration members must be qualified with the name of the enumeration to which they belong.
Enum AppWinStyle Hide = 0 ' VbHide NormalFocus = 1 ' VbNormalFocus MinimizedFocus = 2 ' VbMinimizedFocus MaximizedFocus = 3 ' VbMaximizedFocus NormalNoFocus = 4 ' VbNormalNoFocus MinimizedNoFocus = 6 ' VbMinimizedNoFocus End Enum
Enum CallType Method = 1 ' VbMethod Get = 2 ' VbGet Set = 8 ' VbSet, vbLet End Enum
Enum CompareMethod Binary = 0 ' VbBinaryCompare Text = 1 ' VbTextCompare End Enum
Enum DateFormat GeneralDate = 0 ' VbGeneralDate LongDate = 1 ' VbLongDate ShortDate = 2 ' VbShortDate LongTime = 3 ' VbLongTime ShortTime = 4 ' VbShortTime End Enum
Enum DateInterval Year = 0 Quarter = 1 Month = 2 DayOfYear = 3 Day = 4 WeekOfYear = 5 Weekday = 6 Hour = 7 Minute = 8 Second = 9 End Enum
Enum DueDate EndOfPeriod = 0 BegOfPeriod = 1 End Enum
Enum FileAttribute Normal = 0 ' VbNormal ReadOnly = 1 ' VbReadOnly Hidden = 2 ' VbHidden System = 4 ' VbSystem Volume = 8 ' VbVolume Directory = 16 ' VbDirectory Archive = 32 ' VbArchive End Enum