Unicode Controls & Classes for VB6 - Version 4

clsFileIniEx.Save Function

Saves the .ini file

Syntax
Public Function Save (Optional ByVal sFile As String = "", _
Optional ByVal sLineSep As String = vbCrLf, _
Optional ByVal bUpdate As Boolean = True, _
Optional ByVal bSaveEmptyKeyVal As Boolean = True, _
Optional ByVal iEncoding As eFileEncoding = -1&, _
Optional ByVal bWriteBOM As Boolean = True) As Boolean
Parameters
Parameter Description
Optional ByVal sFile As String = "" The destination file if not specified using the property or the [Load] function
Optional ByVal sLineSep As String = vbCrLf Line separator char
Optional ByVal bUpdate As Boolean = True Update another file with the data contained in this object?
Optional ByVal bSaveEmptyKeyVal As Boolean = True Do you want to save rows with empty values or not?
Optional ByVal iEncoding As eFileEncoding = -1& The encoding to use; pass -1& for automatic encoding
Optional ByVal bWriteBOM As Boolean = True Pass False to use a specified encoding but don't write the BOM marker on the beginning of the file
Remarks