Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access mdb on a CD?

Status
Not open for further replies.

tmcnutt

Programmer
May 17, 2002
83
US
I want to have a read only copy of an Access database on a CD that my VB.Net program can access. It works fine on my machine, but when I try to run it with the database on a CD, I get the error message that it can't lock the file. I assume that it is trying to create the .ldb locking file. Is there a way to open the database as read only and prevent the application from trying to create a locking file? Is there a locking mode setting that I can use in the connectionstring property?

Thanks,
Tom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top