Check
Read / write .ini files File #
9766>I have a form which is initialised when the user starts the program. This gives the users the ability to select their name from the list. What I want to do when they select and then click ok is to write the value (username) to a text file named username.ini.
>
>The contents of the username.ini is as follows:
>
>[PATHS]
>homedrive=
>datapath=
>username=
>
>When the user clicks ok I would like the username to be inserted in ini file next to username so it should look like this:
>
>[PATHS]
>homedrive=
>datapath=
>username=neil
>
>Is this possible?
>
>Many Thanks
--sb--