User settings don't get saved on closing app

B

Bob

VS 2005. I got an app in which I have a bit of code writing a user setting
(not an application scope setting)
My.Settings.MyUserSetting = "Test"

In the application Properties in VS 2005 I have the checkbox Save
My.Settings on Shutdown checked.

When I change the setting in my application code then close the application
and then reopen it I see that my application reads the original setting that
were in the config file and these were not changed by my code.

I would like to be able to change some user settings in the application
config file without having to use Notepad to go dig in the xml. I thought
that using user settings and modifying their values would do this but
obviously not. How can I do this?

Any help would be greatly appreciated.

Bob
 
B

Bob

I also coded My.settings.save() immediately after the value assignment. That
does not work either.
Bob
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top