
March 13th, 2006, 03:25 AM
|
|
Contributing User
|
|
Join Date: Mar 2006
Posts: 31

Time spent in forums: 12 h 41 m 14 sec
Reputation Power: 3
|
|
|
ADOVBS.ASP - Do You Really Need It?
The answer is... Nope!!!
Instead of #including "adovbs.asp" in your site/app on every page, or doing your own constant declarations for just the constants you use, add the following line to your "global.asa" before any of the "sub" declarations (and after the opening "script" declaration):
Code:
<!-- METADATA TYPE="TypeLib" FILE="C:\Program Files\Common Files\system\ado\msado15.dll" -->
Now you can use any of the constants without wasting time #including "adovbs.asp" on every page
Of course, first check your system to make sure that DLL is where it is on my own servers - it *should* be, but best to make sure 
|