Peter

Peter

  • NA
  • 4
  • 0

Changing Where Application Settings Are Saved?

Jun 24 2009 11:08 AM

Hope you can help me with this one.

 

I have a C# WinForms application that very happily uses Properties.Settings.Default.xxx and Properties.Settings.Default.Save() to restore and save application defaults, respectively.

 

It's easy to use and I love it.

 

My problem?  Because of a specific configuration in which my application absolutely MUST run (XP Embedded), I need to change the location to which the settings are saved.  On the particular XP Embedded system in question, the directory to which the settings are saved is located on a RAM drive (in memory) and thus any changes to the settings don't persist across system restarts.

 

Can anyone provide me some clues on if and (hopefully) how the location for storing the settings can be changed?

 

TIA,

 

Peter