winform's Application Settings : cannot save application settings which has been added during the run time RRS feed

  • Question

  • Hi,

    I having some issues with saving Application settings during the run time...

    If i change the setting scope to user, it works fine, but in application scope, nothing being happened...

    any ideas ?


    Thursday, March 8, 2012 9:29 AM


  • That's because setting the scope to Application makes it read-only.

    Application-scope settings are read only, and can only be changed at design time or by altering the .exe.config file in between application sessions. User-scope settings, however, can be written at run time, just as you would change any property value. The new value persists for the duration of the application session. You can persist changes to user settings between application sessions by calling the Settings.Save method.


    Friday, March 9, 2012 4:00 AM