April 2002
Intermediate to advanced
688 pages
19h 51m
English
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 EnumEnum CallType
Method = 1 ' VbMethod
Get = 2 ' VbGet
Let = 4
Set = 8 ' VbSet
End EnumEnum CompareMethod
Binary = 0 ' VbBinaryCompare
Text = 1 ' VbTextCompare
End EnumEnum DateFormat
GeneralDate = 0 ' VbGeneralDate
LongDate = 1 ' VbLongDate
ShortDate = 2 ' VbShortDate
LongTime = 3 ' VbLongTime
ShortTime = 4 ' VbShortTime
End EnumEnum DateInterval
Year = 0
Quarter = 1
Month = 2
DayOfYear = 3
Day = 4
WeekOfYear = 5
Weekday = 6
Hour = 7
Minute = 8
Second = 9
End EnumEnum DueDate
EndOfPeriod = 0
BegOfPeriod = 1
End EnumEnum FileAttribute
Normal = 0 ' VbNormal
ReadOnly = 1 ' VbReadOnly
Hidden = 2 ' VbHidden
System = 4 ' VbSystem
Volume = 8 ' VbVolume
Directory = 16 ' VbDirectory
Archive = 32 ' VbArchive
End EnumRead now
Unlock full access