Results 1 to 3 of 3

Thread: Saving settings for application on pocket pc

  1. #1

    Thread Starter
    Hyperactive Member vbcode1980's Avatar
    Join Date
    Nov 2005
    Location
    Anywhere the wind blows
    Posts
    365

    Saving settings for application on pocket pc

    Hi,

    I'm developing an application for pocket pc and I want to store some user settings.
    What would be the best way to do it?
    Registry, ini-file or something else?

    Also, I've searched for examples on how to read and write to the registry on a pocket pc, but couldn't find much info.
    I'm developing in C# using Visual Studio 2008.

    Cheers
    I code C#....

  2. #2
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Saving settings for application on pocket pc

    Hey,

    The .Net Compact Framework doesn't support the System.Configuration.ConfigurationManager Class, so you can't do it the way that you normally would on the desktop, but there is nothing to stop you creating your own version of it, for instance here.

    Hope this helps!!

    Gary

  3. #3
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: Saving settings for application on pocket pc

    search this site for config.xml - there is some sample code showing how to do it
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width