Constants Module

 <  Day Day Up  >  

The Constants module contains a set of constants that provide alternate names to the values of the various enumerations discussed in this appendix. For example, the constant vbExclamation has the same value (48) as the enumerated value MsgBoxStyle.Exclamation . Each enumeration discussed in this appendix lists the constants in the Constants module that correspond to its enumerated values.


The constants in the Constants module are provided to assist in conversion of code from previous versions of Visual Basic. Programmers are encouraged to use the enumerations rather than the constants for greater clarity.

 vbNullString = Nothing 

A null reference to a string.

 vbObjectError = &H80040000 

The first user-defined error number. All user -defined error numbers must be greater than this.

 <  Day Day Up  >  

The Visual Basic .NET Programming Language
The Visual Basic .NET Programming Language
ISBN: 0321169514
EAN: 2147483647
Year: 2004
Pages: 173
Authors: Paul Vick

Similar book on Amazon © 2008-2017.
If you may any questions please contact us: