Vb.net Setting, what happen with new releases?

Hi All

I have a Vb.net CRM program that store and look after customer data/billing system, which I'm developing everyday.

Now im think of using the build in user setting of VB.net, but as im developing and releasing new version of the software (almost weekly) how will the XML setting file deal with it? in the sentace what if i add new setting. Will it just clear off the old setting, or just magical sort it self out?

Any advice would be great



Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Matb396Author Commented:
What might help is how i publish new releases,

The program is store as exe file on the server and when there's an update this overwritten.
Matb396Author Commented:
No, and would rather i didn't just keep thing simple....

It said on your like it merges these setting, is there a way to set vb.net to do this automatic or do i have to write code to do so? also i would prefer if the setting would stored on the server not the local machine so that staff and use the same setting between there work computer and there remote computer e.g. laptop/ home computer.
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

If you areusing click once, then the settings will be upgraded automatically.
If you are not using click once, then you will have to manually upgrade the settings, typically by implementing a routine that utilizes IsFirstRun.
I assume you're talking about Properties.Settings in a config-file.

Application settings are taken from the .exe.config file which is to be replaced.
user settings are saved in "version-separated files" (each version has its own file) and will draw back to defaults.
But there is an "upgrade" function wich can be used like
      if (Properties.Settings.Default.UpdateSettings)
            Properties.Settings.Default.UpdateSettings = false;

>also i would prefer if the setting would stored on the server not the local machine

You would be better off storing the settings in a DB in that case and provide a Settings form which allows users to change these from within the app.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Matb396Author Commented:
Yeah, think thats probly the best cheers
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.