Grace said:
Hi,
How do I create/access an INI file in VB .NET? I
appreciate any help you can give me...
Thanks!
Yes, INI files are out of date. But two facts here, let me point out
desktop.ini that still exists in WinXP. Also, INI files are a lot smaller
than thier XML replacements. I am thinking of switching over to XML myself
just because of the added features that XML offers. Also, alot of people
say "Use the registry". I've never been a huge fan of that, plus, I'm
testing out the Mono system, and I don't even want to think about the
nightmares WINE and MONO will have witha psudo-registry, so I'm staying
file-based.
There are alot of options, but it comes down to personal preference, and
no one should jump down anyone else's case for doing a personal preference.
My suggestion Grace, if you want to still use legacy INI files, use the
same API calls that VB6 would use, they work just fine. If you want to
stick with file-based user settings, look into XML files, the offer so much
more than a flat INI file would, but once again, it's personal preference.
HTH
Suefell