Config/INI Files

K

Kevin Moore

Hi,

I am starting to write a .Net CF app that will allow our customers to access
our db. Our customers will be connected to their LAN via a wireless card in
the PocketPC and then use our app to scan some barcodes.

I am trying to store the db connection information on the pocketpc but I
can't figure out how to write to a config or INI file. Can anyone offer any
ideas? Does this information normally get stored in some type of a config or
INI file.

Thanks,

Kevin
 
P

Paul G. Tobey [eMVP]

You'd have to write the code to write and parse the file yourself. You
could store it in the registry...

Paul T.
 
A

Ali Mazaheri, MCAD

You can store it in a XML file and leverage XMLtextreader for reading the
XML.
 
K

Kevin Moore

Paul,

Unfortunately it doesn't appear that the Microsoft.VisualBasic library works
in .Net CF. So I cannot use the registry. I'll have to look into something
else.

Kevin
 

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

Top