Create a Constants Include File
Written by Eric Smith, Northstar Computer Systems LLC
If you get tired of having to look up the built-in constant values, such as vbShortDate, all the time, create a file with all the constants in it. There is already a file like this for ADO (adovbs.inc), but there doesn't seem to be one available with the rest of the constants. To determine the values, you can use a tool like the Object Browser in Visual Basic to find the constants and determine their values. You then use the Const statement, like so:
Const vbShortDate = 2
Keywords: [
Uncategorized ASP Tips
]
Publication Date: 7/1/1999
|