Connecting to a database password protected back end

mbentley

Registered User.
Local time
Today, 12:46
Joined
Feb 1, 2002
Messages
138
I have to create an ADO connection to a password protected backend. Not user-level security, but simple file security. How do I format the connection string to pass the password? The arguments that work for user-level security do not work.
 
Solution

Figured it out:

Code:
MyConnection.Properties("Jet OLEDB:Database Password") = MyPassword
 

Users who are viewing this thread

Back
Top Bottom