• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 242
  • Last Modified:

include ado constants

If I am writting an ASP page and want to include ADO constants.  How do I do this in frontpage without using the wizard?
0
dtolo
Asked:
dtolo
  • 4
  • 2
1 Solution
 
hhammashCommented:
Hi,

Put the constants in an asp file,  then include it in the asp pages.  Link to it as external file.

hhammash
0
 
hhammashCommented:
Hi again,

Create a page that has the constants that you want.
Save the page as MyConstants.inc
Open your ASP page.
Include that file in the body as this:
<p><!--#include file="MyContants.inc"--></p>

In this way all the values sepcified in MyConstants.inc will be available for you in your ASP page.

You can save your constants page as MyConstants.asp also not only .inc.  When you include it in the body include it as
<p><!--#include file="MyContants.asp"--></p>

Regards
hhammash
0
 
dtoloAuthor Commented:
HHamash,

Where can I find a listing of all the constants?  What is the format for listing them?  Does frontpage allready include something like this?

~David
0
Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

 
hhammashCommented:
Hi dtolo,

Try this link and let me know:

http://www.eggheadcafe.com/PrintSearchContent.asp?LINKID=122

hhammash
0
 
dtoloAuthor Commented:
Looks Good hhammash
0
 
hhammashCommented:
You are welcome dtolo
0

Featured Post

Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now