I used a MS Access database with a Database Password in Access to protect the database.
What coding can I use to bypass the Access Database Password when I open the database through a VB Application. It gives me the following error code :
Run-time error ‘-2147217843 (80040e4d
Not a valid password.
I used the following code to connect to my database :
Dim cn As ADODB.Connection 'Connect to a Database.
Public rs As ADODB.Recordset 'Set records.
Public Sub OpenConnection()
'Database to be opened.
Set cn = New ADODB.Connection
cn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\VB\Profiller\Profiller.mdb"
cn.Open
End Sub
What coding can I use to bypass the Access Database Password when I open the database through a VB Application. It gives me the following error code :
Run-time error ‘-2147217843 (80040e4d
Not a valid password.
I used the following code to connect to my database :
Dim cn As ADODB.Connection 'Connect to a Database.
Public rs As ADODB.Recordset 'Set records.
Public Sub OpenConnection()
'Database to be opened.
Set cn = New ADODB.Connection
cn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\VB\Profiller\Profiller.mdb"
cn.Open
End Sub