W
Wapiti
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
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