Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Open password protected database
Hello!
How do I open a connection to a password protected access database? I'm not using user level protection, only the database itself is protected. Public cn As ADODB.Connection Public Sub ConnectToDatabase() Set cn = New ADODB.Connection cn.ConnectionString = "Provider = Microsoft.Jet.OLEDB.4.0;Data Source = " & _ strDBPath & "db1.mdb;" cn.Open End Sub |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Open password protected database
"Torsten Hannerfeldt" <Torsten
wrote ... How do I open a connection to a password protected access database? I'm not using user level protection, only the database itself is protected. Try this connection string resource: http://www.able-consulting.com/MDAC/...orMicrosoftJet Look for the section 'If MDB has a database password'. Jamie. -- |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Open password protected database
Hi,
read this article about Access database passwords http://lastbit.com/access-article.asp and try Access Password recovery http://lastbit.com/access "Torsten Hannerfeldt" <Torsten wrote in message ... Hello! How do I open a connection to a password protected access database? I'm not using user level protection, only the database itself is protected. Public cn As ADODB.Connection Public Sub ConnectToDatabase() Set cn = New ADODB.Connection cn.ConnectionString = "Provider = Microsoft.Jet.OLEDB.4.0;Data Source = " & _ strDBPath & "db1.mdb;" cn.Open End Sub |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
PAssword protected file will not open | Excel Discussion (Misc queries) | |||
Open workbook that is protected with password | Excel Programming | |||
Open Access database(DAO) with password protected | Excel Programming | |||
Open password protected workbook. | Excel Programming | |||
open Access DB that is password protected | Excel Programming |