Unicode Controls & Classes for VB6 - Version 4

clsFileIniEx.Load Function

Loads a certain .ini file into memory; returns True if the loading has finished correctly

Syntax
Public Function Load (ByVal sFile As String, _
Optional ByVal iEncoding As eFileEncoding = -1&, _
Optional ByVal bReadBOM As Boolean = True) As Boolean
Parameters
Parameter Description
ByVal sFile As String The complete path and filename of the file
Optional ByVal iEncoding As eFileEncoding = -1& Encoding to use; pass -1& to let the function read the encoding using the BOM at the start of the file or
pass it to a valid enum value to read the file using the specified encoding without reading any BOM
Optional ByVal bReadBOM As Boolean = True Specify if the function has to read/skip the BOM at the start of the file; if you saved the file without BOM pass False
Remarks