Ini_WriteEntry
Description
Section titled “Description”Writes entry to file
Syntax
Section titled “Syntax”Ini_WriteEntry(sFile, sSection, sEntry, sValue) As Boolean
Parameters
Section titled “Parameters”sFile (String)
Section titled “sFile (String)”Filename
sSection (String)
Section titled “sSection (String)”Section name
sEntry (String)
Section titled “sEntry (String)”Entry name
sValue (String)
Section titled “sValue (String)”Value of entry
Remarks
Section titled “Remarks”- If the entry already exists, its value is replaced.
- If the INI file, the section or the entry doesn’t exist, it’s created. The folder of the INI file must already exist. Use File_CreateDirectory first if needed.
Example
Section titled “Example”If bStatus Then bStatus=Ini_WriteEntry("C:\CapaInstaller.ini", "SectionName", "EntryName", "Value")Related functions
Section titled “Related functions”Ini_DeleteEntry Ini_ReadEntry Constants Package Property Variables