VS2005 Property binding

  • Thread starter Thread starter Al Cadalzo
  • Start date Start date
A

Al Cadalzo

In a VS2005 Windows Form project I have a text box whose Text property is
bound to a user setting using the Application Settings >
PropertyBinding in the form designer. In my code, before the form is closed
I do Properties.Settings.Default.Save() so that the value of the Text
property is persisted. This works fine, on a subsequent run, the textbox
displays the value that was persisted. However, I do a FIND (in project)
for this value but cannot find where it is being stored. I also noticed
that if I delete the entire project folder and then create the project anew
with the same project name, same form and property binding (but no default
value), it picks up the value that I had saved in the original project that
was deleted, even though I did not specify a default value, so I am curious
where it is getting that value.
Thanks, Al.
 
Someone showed me where this value is stored. It is in the Local
Settings\Application Data folder under the name of the application.
 
Back
Top