Code Bank
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingCode Bank

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old March 13th, 2006, 03:25 AM
Rust Indy Rust Indy is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2006
Posts: 31 Rust Indy User rank is Private First Class (20 - 50 Reputation Level)Rust Indy User rank is Private First Class (20 - 50 Reputation Level) 
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

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingCode Bank > ADOVBS.ASP - Do You Really Need It?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway