! ! ! X X X PWD PWD PWD PWD PWS X X X ! ! !

I have given a  Password to a Access Database.
I cannot open the above said Database file
with VB.  That means How can I specify the
Password for Opening the Database saved with
password in VB Program?

eesrinivaassanAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

watyCommented:
Send me your DB, I will deprotect it :
Thierry.WATY@cec.eu.int
0
st_steveCommented:
I think "eesrinivaassan" meant he wants to open the DB from within VB (which is what I want to do as well...but I don't know how!)....I don't think "eesrinivaassan" lost the password....he just wants to specify the password from VB....
0
alokanantCommented:
here is an example of opening a password protected access db

Dim db As Database
   
   
Set db = Workspaces(0).OpenDatabase("C:\winnt\profiles\90127\alok\vb5\db1.mdb", Exclusive, True, ";pwd=helphelp")


hth
alok
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
alokanantCommented:
replace "helphelp" with the actual password.
u can set the readonly option as False also, instead of True, above.

hth
alok.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.