Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Opening a passworded database
Message
 
À
14/10/1999 15:01:54
Information générale
Forum:
Visual Basic
Catégorie:
Bases de données DAO/RDO/ODBC/ADO
Divers
Thread ID:
00276012
Message ID:
00276625
Vues:
25
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform