Windows Develop Bookmark and Share   
 index > Windows Forms General > [C#] Where are application settings saved?
 

[C#] Where are application settings saved?

Where are application settings saved? If I create an app and install it on a computer. Then where are the settings saved? Are they saved in Registry or some file? Or they are saved inside the .exe. that uses it?

Thanks
farooqaaa  Monday, October 05, 2009 5:19 PM
They are saved to a subdirectory of c:\users\username\appdata.  You'll have a hard time finding it back, the directory name is hashed to ensure that each version of the program gets its own config file.

Hans Passant.
  • Proposed As Answer byGeert van Horrik Tuesday, October 06, 2009 5:46 AM
  • Marked As Answer byfarooqaaa Tuesday, October 06, 2009 2:22 PM
  •  
nobugz  Monday, October 05, 2009 9:24 PM
They are saved to a subdirectory of c:\users\username\appdata.  You'll have a hard time finding it back, the directory name is hashed to ensure that each version of the program gets its own config file.

Hans Passant.
  • Proposed As Answer byGeert van Horrik Tuesday, October 06, 2009 5:46 AM
  • Marked As Answer byfarooqaaa Tuesday, October 06, 2009 2:22 PM
  •  
nobugz  Monday, October 05, 2009 9:24 PM
Thanks!
farooqaaa  Tuesday, October 06, 2009 2:23 PM

You can use google to search for other answers

Custom Search

More Threads

• Design-Time Attribute for a Font Array in Visual Studio 2005
• i need some help
• Destroy Excel instance by the time I cancell the thread - Backgroundworker
• Reopen a form
• How to find computers domain
• getting active form for application
• Adding TextBox to Open File dialog?
• Drawing Custom Borders in Windows Forms
• new AutoSize mode in .net 2.0 Question
• Uninstalling Vista