How to update application settings in vb.net code

  • Thread starter Thread starter Bob
  • Start date Start date
B

Bob

The my.settings name space is easy to use to modify User settings from
within code, but the application settings can't seem to be modified that
easily.
I want the user to be able to modify some of the application setting ( like
my connection strings) through a friendly user interface on one of my forms,
without having to go in the .config file with notepad. If its in my code I
can do testing and validating when he chages things.

Any help appreciated

Bob
 
Hi,

If you go to the project properties and click the settings tab, you can
define my.settings settings. In the scope column you can specify if the
setting is an application or user setting.

I have never tried the above solution, but I remember reading it
somewhere in msdn.

Cheers,
 
Back
Top