Database Connection [Resolved]
Hi! I am trying to connect to my database. The database is in another computer. below is my connection code:
VB Code:
Set MyConn = New ADODB.Connection
MyConn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;data Source=\\NetServer\Dbase\DatLibrary.mdb"
MyConn.Open
Below is the error:
Microsoft Jet Database engine cannot open the file '\\NetSever\Dbase\Datlibrary.mdb'. It is already opened exclusively by another user, or you need permission to view its data.
Re: Database Connection [Resolved]
Got it now. i forgot to share the DB folder. ;)