The SetINIValue method stores a value into an INI file. This method, along with GetINIValue, is useful if you need to store a custom value in an INI file and retrieve it for any purpose.
SetINIValue(INIFile as String, Section as String, Entry as String, Value as String) as Boolean
The fully-qualified path to the INI file.
The section in the INI file where the value is stored (if the section doesn't exist, it's added).
The name of the entry for the value (if the entry doesn't exist, it's added).
The value to store.
True if the value was stored or False if not.
See GetINIValue for example code.