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
Post a Comment