Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Working with virtual directories 1

Status
Not open for further replies.

SH4F33

Programmer
Apr 1, 2005
58
MU
Hello.
I've been having problems locating the path of 2 virtual directories. I have a virtual directory called stock, my asp pages reside in this folder, and in this virtual directory, I have a folder called database and my access database is in there. I have another virtual directory called MoreData and there's another database in thet virtual directory. So how can I obtain the path of these databases for my connection string. I'm not working with DSN.
Thanks.
 
so your connection string look something like this:
Code:
Con.Open "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("yourdatabase.mdb")

-DNG
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top