-
Hi all,
In an .ini file I have several keys and corresponding values. I want to know if there is a way to delete a key and its value. I have figured out how to create the file and the keys but when my form changes it can have some unnecessary key left that I no longer need.
Steve
-
...
U could proably use the WriteProfileString fucntion
to nil out values under some sections
so, if u do not want to use a section... instead of deleting
it, set it to nil
Would that be a compromise
There may e but I don't know of a delete profile string function
-
I have figured it out. Lafor you were right.
here is a sample:
WritePrivateProfileString(lpAppName, 0&, 0&, lpFileName)
Thanks.