Compact Framework 2.0 does not support application settings (appSettings class, etc.).
I am wandering : what is the best way to preserve user and application settings in the compact framework
Any idea
Emphyrio
Compact Framework 2.0 does not support application settings (appSettings class, etc.).
I am wandering : what is the best way to preserve user and application settings in the compact framework
Any idea
Emphyrio
Application Settings
yizhixiaozhu
Yes, but my question was more : how to do it Is there any sample out there
I found this :
http://www.codeproject.com/netcf/cConfig.asp#xx1381775xx
http://www.codeproject.com/netcf/SaveSettings.asp#xx1199475xx
Do you know any other example
Thanx,
Emphyrio
Kharsim
You can save them to the file or registry whichever you prefer. File can be in any format, for example XML. It is recommended to use <your application name>.exe.config file in XML format. You can use DOM to process this XML file.
Jose Luis Manners
I do not, but if these two are not enough, you can find plenty of snippets in NETCF news group:
http://groups.google.com/group/microsoft.public.dotnet.framework.compactframework/search group=microsoft.public.dotnet.framework.compactframework&q=Configuration+file&qt_g=1&searchnow=Search+this+group
Your best bet is to use OpenNetcf.org classes.