now, you would need to provide some more info for us to really help you.

if the file is txt and not ini...

the whole procedure would need these functions:
open()
readline()
close()
writevalue()

but without more info, can't do much.
_________________________
!

download KiXnet