How to WRITE to and read from a config/ini type file?

  • Thread starter Thread starter feng
  • Start date Start date
F

feng

Hi,

I need to be able to WRITE into and read from a config or
ini type of files. I wonder if VB.Net has a API to access
the .ini file format easyly? Please note here that to be
able to Write into it is critcle, not just read from it.

Thanks
 
* "feng said:
I need to be able to WRITE into and read from a config or
ini type of files. I wonder if VB.Net has a API to access
the .ini file format easyly? Please note here that to be
able to Write into it is critcle, not just read from it.

INI files are "out of date". You can still use the Windows API
functions to read/write INI files, but it's not recommended to use that
with new applications:

<http://www.mentalis.org/soft/class.qpx?id=6>

Alternatives for storing "user preferences":

Configuration Management Application Block
<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/cmab.asp>

<http://www.palmbytes.de/content/dotnetlibs/optionslib.htm>
 
Back
Top