
Reading and writing from and to ini files
In Vb6 I could use the Win 32 API GetPrivateProfileString and
WritePrivateProfileString to read from and write to a particular ini file.
(myapp.ini)
What gets me the equivalent functionality in Vb.Net are there any specific
functions that do the same in managed code?
In Vb6 I did a lot of writing values to the registry using API functions to
write to the HKEY_LOCAL_MACHINE. I am under the impression that the
preferred
technique for managed code is to write to ini files (as I think the code
would eventually be more portable, whenever that becomes more readely
available)
so I think using Ini Files may be a better bet than using the registry
(which is after all limited to Windows OSs)
Any insight as well as tips would be most appreciated. I am at the start of
a fair size project and I would like to use the most appropriate techniques.
Regards to all ,
Bob