Re: XML, INI or Registry?
From: Wapiti (testme_at_spamcatcher.org)
Date: 09/04/04
- Next message: Alex Feinman [MVP]: "Re: installing 2 CABs at the same time"
- Previous message: Kim D: "Re: Temperature Gun"
- In reply to: Sai: "Re: XML, INI or Registry?"
- Next in thread: Peter Foot [MVP]: "Re: XML, INI or Registry?"
- Reply: Peter Foot [MVP]: "Re: XML, INI or Registry?"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 3 Sep 2004 17:21:33 -0700
Thanks Sai,
I was trying to find xml support in opennetcf earlier - but apparently
wasn't looking in the right place.
Can you help me locate a starting point to finding the right lib?
Thx.
-m
"Sai" <snemani@nospamlumedx.com> wrote in message
news:Ot1rODhkEHA.3016@tk2msftngp13.phx.gbl...
> If your settings needed to move from device to device, your desktop
> application would have to do it. Put it in a config file (xml format) and
> use the www.opennetcf.org classes to read and write config files. Each of
> the machines where the device could be docked could then run a service
> which checks for this file and pushes one down to the device. The
> architecture you are shooting for isnt apparent, but I'd say xml based
> config files is a good bet.
>
>
> "Wapiti" <testme@spamcatcher.org> wrote in message
> news:%23QxiGagkEHA.2812@tk2msftngp13.phx.gbl...
>> Should this be this difficult? Using VB.net cf, I would like to save
>> some app specific information to be retrieved by the same app at a later
>> time. For example, the user will enter a warehouse location into a text
>> field, I want to save that particular location so that the next time it
>> prompts them for a warehouse location, that location will display by
>> default. Also, program settings, such as those in typical Tools |
>> Options.
>>
>> Typically, in my VB6 days, I'd just write this info to INI files. Worked
>> great, and could copy that ini file to other PCs/Devices so they all hold
>> the same initial settings.
>>
>> How is this done in CF?
>>
>> I've tried xml files as explained in the link:
>>
>> http://www.knowdotnet.com/articles/csettings.html
>>
>> but found that often my settings would get reset to null. I'm not sure
>> that was problem in the example code, or in something I was doing.
>>
>> I'm also looking into using the registry by way of OpenNetCF.Win32
>> registry class - but then, I won't be able to copy the initial settings
>> easily from device to device... easily anyway.
>>
>> Ini files? No such thing anymore?
>>
>> How do you save app specific info?
>>
>> I'm ready to even try using csv files instead - ?
>>
>> Mike
>>
>
>
- Next message: Alex Feinman [MVP]: "Re: installing 2 CABs at the same time"
- Previous message: Kim D: "Re: Temperature Gun"
- In reply to: Sai: "Re: XML, INI or Registry?"
- Next in thread: Peter Foot [MVP]: "Re: XML, INI or Registry?"
- Reply: Peter Foot [MVP]: "Re: XML, INI or Registry?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|