J
Jeff Richardson
Hi,
How do I save updated values for Application Settings defined with an
Application scope? I created the Application Settings using the Project
Properties dialog in VS2005.
I am trying to create a dialog box where users can save their preferences.
The dialog reads values from the app.config, then update those values. I
want these setting to apply to all users of the application.
I have tried code like the following:
mySettings["Latitude"] = decimal.Parse(txLat.Text);
mySettings["Longitude"] = decimal.Parse(txLon.Text);
mySettings.Save();
The code runs but does not save the settings.
Thanks
Jeff.
How do I save updated values for Application Settings defined with an
Application scope? I created the Application Settings using the Project
Properties dialog in VS2005.
I am trying to create a dialog box where users can save their preferences.
The dialog reads values from the app.config, then update those values. I
want these setting to apply to all users of the application.
I have tried code like the following:
mySettings["Latitude"] = decimal.Parse(txLat.Text);
mySettings["Longitude"] = decimal.Parse(txLon.Text);
mySettings.Save();
The code runs but does not save the settings.
Thanks
Jeff.