How to update application settings in vb.net code

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
 
A

Ahmed

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,
 

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