dcsimg
Login | Register   
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.


Tip of the Day
Language: Web
Expertise: All
Aug 3, 1999

WEBINAR:

On-Demand

Application Security Testing: An Integral Part of DevOps


Adding ADO 2.1 Reference to your VI6 project

To use the ADO constants, you've probably added this piece of code to each of your ASPs:

 <!-- #include file='adovbs.inc'--> 

If you write reusable data access ASP code, you might have seen the problem where putting the server side include in each file resulted in a "constant redefined" error. A better way to solve this is by adding a project reference. Like Visual Basic, Visual Interdev allows you to add ActiveX components to the project. After you create a VI6 project, click the Projects menu and then select References. Select the ADO 2.x Library in the dialog box and hit okay. If you open the global.asa file, you'll notice that VI6 added some special tags. Now, you can use the ADO constants throughout your Web application without that server side include.

Willliam Wen
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
×
We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.
Thanks for your registration, follow us on our social networks to keep up-to-date