c# - Windows application settings -


i have windows app written in c# (.net 3.5), , have settings.settings file holds application's settings.

when this:

properties.settings.default.hslastsend = datetime.now; properties.settings.default.save(); 

it gets saved , persisted when restart application, settings.settings file still has original value. can't seem find new value stored. have expected settings.settings file have new value when went it.

is problem or normal?

cheers in advance,

stu

setting.settings provide default values application, instead changed one, saved in binary file resources. can prove loading application after save changed settings, , changed value, if settings file has still "old" one.

edit

just note properties.settings.default.

on xp machine should at:

c:\documents , settings\"yourmachineusername"\application data\

regards.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -