SetINIFileData( FilePath, Section, Key, Value )
true if the data was written successfully, false if any error occurred..
FilePath – This is the pathname where the INI file is stored on your computer. This parameter is required and must be surrounded by quote marks. Alternatively, you can use a variable containing a pathname.
Section – Enter the name of the section within the INI file in which the key will be located. This parameter is required and must be surrounded by quote marks.
Key – Enter the name of the key to store the value under. This parameter is required and must be surrounded by quote marks.
Value – Value to store. For example "January" or 1. This parameter can be a string or an integer number. All types are stored as a string. This parameter is required.
The SetINIFileData function is used to store values to a particular key within a specified section of an INI file. This function is used to set information in INI files either you have created or are available on a users computer.
Note:
This function works when you publish as a standalone publication but not as a web or Flex publication.
see also:GetINIFileData, GetINISectionData