Robert Jordan wrote:
Salvatore,


...store application settings ?


string folder =
    Environment.GetFolderPath(Environment.SpecialFolder.Personal);


If you want to differenciate between data suitable for roaming
and local machine data:

Environment.SpecialFolder.ApplicationData
Environment.SpecialFolder.LocalApplicationData

Ups! You didn't ask *where* to store the preferences.

About the "how":

- static application settings can be stored in the
  so called "app.confg". This a XML file named after
  the executable:  foo.exe.config.

  See http://tinyurl.com/dbwfe

- user preferences can be stored to a file into a folder I
  mentioned above. You may use (XML) serialization for that:

  http://tinyurl.com/a26bo
  http://www.15seconds.com/issue/020903.htm

Robert

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to