Hi,
I am looking for advice on how to set the path to an Access DB on a central PC
I don't believe a server is involved, just one of the PCs has been nominated as the central PC.
The VB6 app will be on each PC, and there will be a single mdb file on the central PC
I will store the path in a Settings.ini file on each PC.
Doogle posted this (in this thread - VB6 with Access in Local Network (LAN)) -
"In your Connection string use something like "\\Servername\Directory\Database.mdb" as the Database FileName and Path. Where 'ServerName' is the name of the PC that's hosting the DataBase, 'Directory' is the folder / path where the data is and 'Database' is the Database name"
Where do I find the name of the PC (in that central PC)
I believe they are running XP.
Does the above work, because the users' PCs would have mapped to the central PC's shared folder, and my VB6 app's connection string just looks for the mapped drive ?
Thanks for any assistance,
Rob
I am looking for advice on how to set the path to an Access DB on a central PC
I don't believe a server is involved, just one of the PCs has been nominated as the central PC.
The VB6 app will be on each PC, and there will be a single mdb file on the central PC
I will store the path in a Settings.ini file on each PC.
Doogle posted this (in this thread - VB6 with Access in Local Network (LAN)) -
"In your Connection string use something like "\\Servername\Directory\Database.mdb" as the Database FileName and Path. Where 'ServerName' is the name of the PC that's hosting the DataBase, 'Directory' is the folder / path where the data is and 'Database' is the Database name"
Where do I find the name of the PC (in that central PC)
I believe they are running XP.
Does the above work, because the users' PCs would have mapped to the central PC's shared folder, and my VB6 app's connection string just looks for the mapped drive ?
Thanks for any assistance,
Rob