|
-
Mar 30th, 2008, 04:48 PM
#11
Re: Help with code or general advice pls
I generally store the location (Path) to the mdb in a config file (config.ini) saved in the applications folder. That way the network share name can be what ever the user want it to be. On initial startup of the app on a machine I have the user browse to the database (mdb file) location and store it in a var and write it to the ini file. On subsequent startups I read the ini file and test if I can find the database there if I can I open the app and continue. If the mdb has been moved I have the user browse to the new location save it and continue startup.
Sometimes the Programmer
Sometimes the DBA
Mazz1
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|