Re: Save settings to file



"Kashif Qureshi" <kashif@xxxxxxxxx> wrote in message
news:NFHbh.24907$E02.10148@xxxxxxxxxxxxxxxxxx
Hi,

I need helt regarding settings I want to save to an INI-file.
I got a function wich allows me to read settings from the INI-file when
the application starts up. But I want to save a few settings into the
INI-file at some time, like when the appl is exited.

See below the function for reading the seetings. But how do I write to
same spot in the INI-file the settings I need to save?
Do I need another function for save seetings? And how will I be sure that
I really update correct fields in my INI-file?

Can someone please help.

Thanx.

Here's an extremely easy way to work with ini files.

Easy INI File Access
http://www.vbaccelerator.com/home/vb/Code/Libraries/Registry_and_Ini_Files/Easy_Ini_File_Access/article.asp

....and, another..

kpIni
http://vb.mvps.org/samples/project.asp?id=kpIni


*******
The brain is a wonderful organ; it starts working the moment you get up in
the morning and does not stop until you get to the office
*******

How true <g>

--
Ken Halter - MS-MVP-VB - Please keep all discussions in the groups..
In Loving Memory - http://www.vbsight.com/Remembrance.htm


.


Loading