Ask a Question related to ASP Database, Design and Development.
-
Jack #1
ASP Constants
Hi,
In order to create an ADO connection and gets it running, I have to declare
the ADO constants as :
"<!-- METADATA TYPE = "Typelib" File = "C:\Program Files\Fichiers
communs\System\ADO\MSADO15.DLL" -->"
What bothers me is that I don't like the hardcoded path. Is there a better
and more generic way?
Thanks,
Jack
Jack Guest
-
ADO Constants
I'm trying to transfer an intranet app from one server to another. I'm having a problem with the ADO constants on the destination server. Our... -
constants
hi, why should I use constants? thx for help Michael -
Using Constants
I'm considering using constants for some predefined paths in my script, like HTML_DIR, INC_DIR. These values won't change and they will be global... -
VBS Constants
I realize that this isn't a VBS newsgroup, but it's the only Microsoft newsgroup I read regularly so I hope that you'll be gentle with me. Where... -
RDoc now does constants
I've added experimental support for documenting constants to RDoc. Right now it's only in the CVS version, and only the default HTML template makes... -
Ray at #2
Re: ASP Constants
You could just define the constants that you need and throw them in the same
include that has your connection string and everything, or you can just use
the actual values instead of named constants. (Don't start, Barrows!)
Ray at work
"Jack" <tardifj@inextenso.qc.ca> wrote in message
news:iXWkb.25012$Ol.508569@read1.cgocable.net...declare> Hi,
>
> In order to create an ADO connection and gets it running, I have to> the ADO constants as :
>
> "<!-- METADATA TYPE = "Typelib" File = "C:\Program Files\Fichiers
> communs\System\ADO\MSADO15.DLL" -->"
>
> What bothers me is that I don't like the hardcoded path. Is there a better
> and more generic way?
>
> Thanks,
>
> Jack
>
>
Ray at Guest
-
Bob Barrows #3
Re: ASP Constants
Jack wrote:
The path is not needed. See [url]http://www.aspfaq.com/show.asp?id=2112[/url]> Hi,
>
> In order to create an ADO connection and gets it running, I have to
> declare the ADO constants as :
>
> "<!-- METADATA TYPE = "Typelib" File = "C:\Program Files\Fichiers
> communs\System\ADO\MSADO15.DLL" -->"
>
> What bothers me is that I don't like the hardcoded path. Is there a
> better and more generic way?
>
> Thanks,
>
> Jack
HTH,
Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Bob Barrows Guest
-
Ken Schaefer #4
Re: ASP Constants
You either need the UUID, or you need the path if you want to include the
TypeLibrary
Or you can define the constants manually
Or you can include the adovbs.inc file (however, this is kinda large - you
might want to trim out the constants you don't need/want, and save as your
own custom constants file)
Cheers
Ken
"Jack" <tardifj@inextenso.qc.ca> wrote in message
news:iXWkb.25012$Ol.508569@read1.cgocable.net...
: Hi,
:
: In order to create an ADO connection and gets it running, I have to
declare
: the ADO constants as :
:
: "<!-- METADATA TYPE = "Typelib" File = "C:\Program Files\Fichiers
: communs\System\ADO\MSADO15.DLL" -->"
:
: What bothers me is that I don't like the hardcoded path. Is there a better
: and more generic way?
:
: Thanks,
:
: Jack
:
:
Ken Schaefer Guest



Reply With Quote

