parthicaps
asked on
ACCESSING PASSWORD PROTECTED DATABASES
Iam using MS Access 2000 as my backend, i have given database password.
But when i try to open using ADO Connection open , i am not able to
do so iam getting the following error:
Cannot start your application, the workgroup information file is
missing or opened exclusively by another user.
I have set only database password, no user accounts!!!
How to correct this ...Can any one give me the detailed coding ?
But when i try to open using ADO Connection open , i am not able to
do so iam getting the following error:
Cannot start your application, the workgroup information file is
missing or opened exclusively by another user.
I have set only database password, no user accounts!!!
How to correct this ...Can any one give me the detailed coding ?
I'm pretty sure that you can only use Access 97 databases with VB :|
Can you post your code where you are building the connection?
Have you set the specific Jet OLEDB Property called JetOLEDB:System Database?
Have you set the specific Jet OLEDB Property called JetOLEDB:System Database?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Its working fine, is this possible to
write this coding in the following syntax :
"Provider=Microsoft.Jet.OL EDB.4.0;Da ta Source=" + App.path + "\databasename;Persist Security Info=False" ....
write this coding in the following syntax :
"Provider=Microsoft.Jet.OL
Yes you can include it in the connection string as follows:
With cnnConnection
.ConnectionString = "Provider=Microsoft.Jet.OL EDB.4.0; Data Source=D:\mydatabase.mdb; Jet OLEDB:Database Password=mydatabasepasswor d"
.Open
End With
:>)
With cnnConnection
.ConnectionString = "Provider=Microsoft.Jet.OL
.Open
End With
:>)
Regards,
Sudhi.