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

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
 
H

Herfried K. Wagner [MVP]

* "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>
 

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