Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Opening a passworded database
Message
 
To
14/10/1999 15:01:54
General information
Forum:
Visual Basic
Category:
Database DAO/RDO/ODBC/ADO
Miscellaneous
Thread ID:
00276012
Message ID:
00276625
Views:
24
I got it. It took a while but I got it. It seems that Access is different from other database engine for passing the password to the connection string.

Try this one:
adoConnection.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\libtax 1999\libtax 1999.mdb;Persist Security Info=False;Jet OLEDB:Database Password=blah".

Look at the article ID Q191754 in the Microsoft knowlegde base for more details.

Please, I will sleep better if you confirm that it is working (I tried it with Access 97 not 2000).
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Reply
Map
View

Click here to load this message in the networking platform