If you know the path to the MDB (using ASP)
<% ' ASP server-side code
oConn.Open "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=E:\myDb.mdb;"
%>
If you don't know the path to the MDB (using ASP)
<% ' ASP server-side code
oConn.Open "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & Server.MapPath(".") & "\myDb.mdb; User Id=admin; Password="
%>
Article ID: 256, Created: 4/24/2009 at 9:23 AM, Modified: 4/25/2009 at 11:19 AM