Click to See Complete Forum and Search --> : INI Files


Screaming Fist
August 23rd, 1999, 04:04 AM
Does anyone know how to read and modify an ini file?

--
Screaming Fist
A witty saying proves nothing.

Chris Eastwood
August 23rd, 1999, 04:08 AM
CrazyD from this forum posted a good class module to the CodeGuru site that handles ini file reading and writing at :

http://www.codeguru.com/vb/articles/1772.shtml

- or you can do it yourself with the GetPrivateProfile... WritePrivateProfile... API calls.



Chris Eastwood

CodeGuru - the website for developers
http://www.codeguru.com/vb

Tiffany Chen
August 23rd, 1999, 05:06 AM
use function WritePrivateProfileString to write to ini and GetPrivateProfileString to read from ini file.