how to access password secure database?
hi all,
I am facing small problem in access database .
I am using MS-Access database in our application and i secure it by setting password to my database. But now i want to acces that database through coding in my vb application but it is generating error. So can anybody tell me how to access database which is secured by password.
I write code for that as follows:
ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Persist Security Info=true;Password=myDatabasePassword;Data Source=" & myDatabasePath
But when i run my application it is generating error.
So can anybody give me proper line of code for accessing ms-access database.
Thanks in advance
Guest11
guest11
Junior Poster in Training
59 posts since Nov 2007
Reputation Points: 10
Solved Threads: 2
Jx_Man
Nearly a Senior Poster
3,329 posts since Nov 2007
Reputation Points: 1,372
Solved Threads: 444
thank you very much selvaganapathy for ur rly my problem is solved .
regards
Guest11
guest11
Junior Poster in Training
59 posts since Nov 2007
Reputation Points: 10
Solved Threads: 2