Where to store...

  • Thread starter Thread starter Jacek Jurkowski
  • Start date Start date
Configuration files are normally stored in the same folder as the
application. The .NET Compact Framework does not support configuration files
like the desktop .NET Framework. However, OpenNETCF.org has kindly
implemented this functionality in the Smart Device Framework. Same applies
for XML serialization. Check out http://www.opennetcf.org/sdf/ for more
information.

HTH
Neil
 
It really depends on the sort of information and quantity you want to store.
You'll find functionality in OpenNETCF SDF for Registry and xml
configuration (both just like you can use for desktop projects). You'll also
find code for xml serialisation, and storing data as comma separated text
(.csv).
There is an article on using the Registry here:-
http://www.opennetcf.org/PermaLink.aspx?guid=0b99da71-9aac-44af-ac0e-c5dbeedb898c

We don't have an article for the ConfigurationSettings code but since it
follows the model used on the desktop framework you should be able to refer
to articles written for that, and of course the MSDN documentation.

Peter

--
Peter Foot
Windows Embedded MVP
www.inthehand.com | www.opennetcf.org

Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top