Try this. This may solve your problem.
Create a DSN and use the DSN when you pen your database.
instead of hardcoding the path in the code.
Go to start button - > setting ->control pannel
Click on ODBC data source.
Press Add button.
select Microsoft Access Driver (*.mdb)
It will display another screen where you can put the name of data source and by pressing select button you can specify the path of the data base. Here select the machine on the network which has the database.
Assume you specify the name as TEST.
while opening the data base use the following code
(if con is your connection)
call con.open ("test", , ,)
or call con.open "test"
Try this code.
GOOD LUCK