I have a vb6.0 program wherein I am using Access2003 file as a database for information. I put this Access file on a shared folder on our network.
From my laptop, on a VB6 software I did, I can put data on the access file. And then, I installed the software on my friends laptop. When my friend tried to open the software while I am using it, it showed error on the database, saying that someone is still using it (some sort of that).
Can you help me please on how to create Visual Basic 6 programs that allows multiple users to access database at the same time
This is the function used to connect.....
Public Function connectpm()
Set cn = New ADODB.Connectio n
Dim cnstring As String
cnstring = "provider=Micro soft.Jet.OLEDB. 4.0;Data source=" & server & "\" & path & "\Patent_ipm_db .mdb"
cn.Open cnstring
End Function
From my laptop, on a VB6 software I did, I can put data on the access file. And then, I installed the software on my friends laptop. When my friend tried to open the software while I am using it, it showed error on the database, saying that someone is still using it (some sort of that).
Can you help me please on how to create Visual Basic 6 programs that allows multiple users to access database at the same time
This is the function used to connect.....
Public Function connectpm()
Set cn = New ADODB.Connectio n
Dim cnstring As String
cnstring = "provider=Micro soft.Jet.OLEDB. 4.0;Data source=" & server & "\" & path & "\Patent_ipm_db .mdb"
cn.Open cnstring
End Function
Comment