Readonly Database access

N

nongo

How do I code VB .Net to connect to an Access Database in ReadOnly mode.
Here's my code that doesn't work:

MyConnection = New System.Data.OleDb.OleDbConnection( _
"provider=Microsoft.Jet.OLEDB.4.0; " & _
"data source=\\10.130.75.104\WorkProd\PaceUser.mdb;Mode=dbReadOnly")

Try
MyConnection.Open()
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top