Hi all,

Can anybody kindly tell me the connection string for password protected
access 2002 database.. I am using the following one but getting error

dim CN as new OLEDB.oledbConnection
cn.connectionstring = "Provider = Microsoft.JET.OLEDB.4.0; Data Source =
\\server\Costing\costing_2004_05.mdb; user id = admin; pwd= abc "
cn.open

this gives the following error
"could not find installable ISAM"

Thanks in advance

Ansari

Re: ConnectionString for password protected Access Database by Miha

Miha
Wed Sep 29 02:40:14 CDT 2004

Hi Ansari,

Check out
http://www.connectionstrings.com/
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\somepath\mydb.mdb;Jet
OLEDB:Database Password=MyDbPassword;"

--
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com

"Ansari" <mudasar_ansari@yahoo.com> wrote in message
news:ejE2MZfpEHA.2484@TK2MSFTNGP09.phx.gbl...
> Hi all,
>
> Can anybody kindly tell me the connection string for password protected
> access 2002 database.. I am using the following one but getting error
>
> dim CN as new OLEDB.oledbConnection
> cn.connectionstring = "Provider = Microsoft.JET.OLEDB.4.0; Data Source =
> \\server\Costing\costing_2004_05.mdb; user id = admin; pwd= abc "
> cn.open
>
> this gives the following error
> "could not find installable ISAM"
>
> Thanks in advance
>
> Ansari
>
>
>



Re: ConnectionString for password protected Access Database by Ansari

Ansari
Wed Sep 29 03:39:07 CDT 2004

Hi Miha Markic

Thanks a lot.. :) It is working...

Ansari

"Miha Markic [MVP C#]" <miha at rthand com> wrote in message
news:uX5YQefpEHA.1296@TK2MSFTNGP12.phx.gbl...
> Hi Ansari,
>
> Check out
> http://www.connectionstrings.com/
> "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\somepath\mydb.mdb;Jet
> OLEDB:Database Password=MyDbPassword;"
>
> --
> Miha Markic [MVP C#] - RightHand .NET consulting & development
> miha at rthand com
> www.rthand.com
>
> "Ansari" <mudasar_ansari@yahoo.com> wrote in message
> news:ejE2MZfpEHA.2484@TK2MSFTNGP09.phx.gbl...
> > Hi all,
> >
> > Can anybody kindly tell me the connection string for password protected
> > access 2002 database.. I am using the following one but getting error
> >
> > dim CN as new OLEDB.oledbConnection
> > cn.connectionstring = "Provider = Microsoft.JET.OLEDB.4.0; Data Source =
> > \\server\Costing\costing_2004_05.mdb; user id = admin; pwd= abc "
> > cn.open
> >
> > this gives the following error
> > "could not find installable ISAM"
> >
> > Thanks in advance
> >
> > Ansari
> >
> >
> >
>
>