Page 1 of 1

Open Access Database

PostPosted: February 11th, 2009, 5:23 am
by Sezar
hi
I have an access db that is password protected,when I open it with method
Code: Select all
ADOConnection.Open("myuser","mypass")

it raises an exception,when I put the password in connection string ,it raises an exception also.

what can I do? :-k

Re: Open Access Database

PostPosted: February 11th, 2009, 8:19 am
by Athabasca
Hi,
extend the connection string:
Code: Select all
;Jet OLEDB:Database Password=XXXX

XXXX is the Password.