Discussion Locked

Access data in a network

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am have vb6 application with access database.
It works fine on a standalone pc.But when I try
to run the application through a network from another pc it fails to connect the database .

originally I use this to connect :
con.open "Provider=Microsoft.Jet.oledb.4.0;"
"Data Source=" & App.path & "\ex.mdb"

Thanks

1 reply

by 3xp3rt

The problem is "Data Source=" & App.path & "\ex.mdb" because your application path is not the same enymore. You must modify this with the right path where is the database.

This discussion is closed to new replies.