SpankySpanky
Programmer
Hi All
I am currently designing my first major application in VB.NET and I want to get it right first time. I would like to know what the industry standard method is for persisting preference settings and form positions etc.
For example, I have a number of pages of user options / preferences which I would like to store each time they are changed, as well as keep the users' selection of form positions, sizes, etc. Perhaps saving them as a profile for each user as a file might be useful, instead of packing them into the registry. There will probably be a number of settings for different things scattered throughout the whole project, and somehow handling them as a set would be nice.
Is there some standard, neat, object oriented way of storing them and loading them back in at runtime?
Does each one have to be stored and loaded by writing code for each or is there something available to handle it automatically when I create new forms and options?
Thanks for any advice.
I am currently designing my first major application in VB.NET and I want to get it right first time. I would like to know what the industry standard method is for persisting preference settings and form positions etc.
For example, I have a number of pages of user options / preferences which I would like to store each time they are changed, as well as keep the users' selection of form positions, sizes, etc. Perhaps saving them as a profile for each user as a file might be useful, instead of packing them into the registry. There will probably be a number of settings for different things scattered throughout the whole project, and somehow handling them as a set would be nice.
Is there some standard, neat, object oriented way of storing them and loading them back in at runtime?
Does each one have to be stored and loaded by writing code for each or is there something available to handle it automatically when I create new forms and options?
Thanks for any advice.