NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Miscellaneous Constants

The following constants are defined in the Visual Studio for Applications type library and can be used in your code in place of the actual values:

Constant Equivalent Description
CrLf Chr(13) + Chr(10) Carriage return–linefeed combination
Cr Chr(13) Carriage return character
Lf Chr(10) Linefeed character
NewLine Chr(13) + Chr(10) Platform-specific new line character; whichever is appropriate for current platform
NullChar Chr(0) Character having value 0
NullString String having value 0 Not the same as a zero-length string (""); used for calling external procedures
ObjectError -2147221504 User-defined error numbers should be greater than this value. For example:
Err.Raise Number = vbObjectError + 1000
Tab Chr(9) Tab character
Back Chr(8) Backspace character
FormFeed Chr(12) Not useful in Microsoft Windows
VerticalTab Chr(11) Not useful in Microsoft Windows

See Also

Date Format Constants | DriveType Constants | File Attribute Constants | File Input/Output Constants | SpecialFolder Constants | Tristate Constants | Visual Basic Constants