Need some help with DB location!!!

Ennio

Member
Joined
Mar 5, 2006
Messages
23
Programming Experience
Beginner
Where should I put my ACCESS DB file?

Should it be on the BIN/RELEASE folder or BIN/DEBUG folder?
 
you can put the file inside any of these folders just care that it will match the vs.NET's solution configuration mode (debug or release) ... while solutions configuration is set to debug keep your DB file inside debug folder and later when you decide to deploy the app creating setup project be sure that you have change the mode to relaese and you can guess that now it (access file) suppose to be moved to release folder :)
 
i have all my access databases stored in a folder of their own, and as i'm building a db driven app i'll have a copy stored in the project's bin folder and when it comes to deployment i make sure to change the db connection code to Application.StartupPath & "\access.mdb" for example
 
Back
Top