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!

Open Access in exclusive mode via code?

Status
Not open for further replies.

tmcnutt

Programmer
May 17, 2002
83
US
I want to put a database on a CD that will be used as read only. I get an error because when the app tries to open the database, it can't create an .ldb file on the CD. I read some articles stating that if I open the database in exclusive mode, it will not create the .ldb file. Can you give me a code example of how to do this from code? I am using the connectionstring property and there is a Locking mode setting, but not sure if that is the one I need to change.

Thanks,
Tom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top