|
-
Nov 19th, 2000, 11:44 AM
#1
Thread Starter
Junior Member
I want to know how to open an Access password protected database through ADO's
Thank You.
-
Nov 20th, 2000, 02:48 PM
#2
Junior Member
Example
Set cnADO = New ADODB.Connection
cnADO.Provider = "Microsoft.Jet.OLEDB.3.51"
cnADO.Properties("Jet OLEDB:Database Password") = "PASSWORD"
cnADO.Properties("Data Source") = "C:\Example.mdb"
cnADO.Open
-
Nov 20th, 2000, 03:47 PM
#3
Fanatic Member
...
That will work if he/she has the password...
-
Nov 22nd, 2000, 01:39 PM
#4
Thread Starter
Junior Member
Thanks for the reply.
I found that on the Microsoft's Knowledge Base. But i got an error when i gave it as part of a property just as in the example, but worked fine when i gave it in the connection string.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|