By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,632 Members | 1,499 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,632 IT Pros & Developers. It's quick & easy.

compact password protected database

P: 2
i am using Access 2003 with vb6 my database is password protected and i want it to protect i have used ur following code but it generate error
"Could not find installable ISAM."

Expand|Select|Wrap|Line Numbers
  1. JRO.CompactDatabase "Provider=Microsoft.Jet.OLEDB.4.0;" & _
  2.                    "Data Source=" & strWorkDB & ";Jet OLEDBDatabase Password=donttryit", _
  3.                       "Provider=Microsoft.Jet.OLEDB.4.0;" & _
  4.                       "Data Source=" & mstrBakDB & ";Jet OLEDB:Engine Type=5;Jet OLEDBatabase Password=donttryit"
waitting for your response

abrar
email address: Removed by Moderator
Apr 4 '07 #1
Share this Question
Share on Google+
4 Replies


vijaydiwakar
100+
P: 579
have u installed msaccess and ur front end?
Apr 4 '07 #2

Expert 5K+
P: 8,434
I believe this is a general database connectivity issue, and not related to either the password-protection or specifically to the compact action. Can you perform other actions on the database at this point?

I'm not that strong on database connections, but it looks a little odd to me that the source and destination have different type information. That is...

Source: Provider=Microsoft.Jet.OLEDB.4.0;Data Source=name;Jet OLEDBDatabase Password=donttryit"

Dest: Provider=Microsoft.Jet.OLEDB.4.0;Data Source=name;Jet OLEDB:Engine Type=5;Jet OLEDBatabase Password=donttryit"

Hm... In fact, now that I look at it in detail, I doubt that OLEDBatabase is correct, anyway.
Apr 5 '07 #3

P: 2
have u installed msaccess and ur front end?
yes i am installed msaccess other module of application working fine except database compression
Apr 5 '07 #4

Expert 5K+
P: 8,434
yes i am installed msaccess other module of application working fine except database compression
Did you note, and carefully read, my mention of "OLEDBatabase"?
Apr 6 '07 #5

Post your reply

Sign in to post your reply or Sign up for a free account.