How / where do I store settings in a windows mobile 6 application (targeting compact framework 3.5)?
Is there some mechanism like the properties.settings for desktop?
How / where do I store settings in a windows mobile 6 application (targeting compact framework 3.5)?
Is there some mechanism like the properties.settings for desktop?
It would be best to use the config settings class to do the job for you. Alternatively, for more flexibility, use an INI class handler (there are a good few out there, look for Windows mobile platform portability). Nini would be your best bet! Hope this helps, Best regards, Tom.
Unfortunately, the System.Configuration is missing from .NET Compact Framework.
You can use the Smart Device Framework or you can just create a class that stores your settings and the save it and load it using a XmlSerializer.