|
-
March 7th, 2005, 05:05 PM
#1
Config File?
Hi,
In my application, eventually during install I would like a bunch of setting to be chosen, and that can also be changed in the program itself, for example:
path to Access DB, or maybe future change to any kind of DB.
Create Access DB from scratch?
Certain fields like in the title bar will be Organizations X application
where they can change the title bar, etc
But one of the main reasons are for flexibility. For my payroll application the user must chose if there are options a position to punch in as.
So say front, back, drive thru etc (if it was say a fast food place), now if say some other org uses my app they might need, desk, shelver etc (a library). I dont want to hardcode these in as thats counter productive. So I need a way of changing what options are available. This information would need to be kept somewhere.
Im not sure how this is typically done as Im a new programmer, so what I was thinking is a configuration file (probably XML?) which would be read upon launch to set all the settings that I would need.
Would this be the correct way to store settings? Also if this is where would I go about learning how to implement this?
Thanks!
Will Rate Posts for help!
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
|