Solved

include ado constants

Posted on 2004-10-28
221 Views
Last Modified: 2013-12-24
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
Question by:dtolo
    6 Comments
     
    LVL 14

    Expert Comment

    by:hhammash
    Hi,

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

    hhammash
    0
     
    LVL 14

    Accepted Solution

    by:
    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
     
    LVL 2

    Author Comment

    by:dtolo
    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
     
    LVL 14

    Expert Comment

    by:hhammash
    Hi dtolo,

    Try this link and let me know:

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

    hhammash
    0
     
    LVL 2

    Author Comment

    by:dtolo
    Looks Good hhammash
    0
     
    LVL 14

    Expert Comment

    by:hhammash
    You are welcome dtolo
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
    Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
    The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
    The viewer will learn how to dynamically set the form action using jQuery.

    934 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now