Unicode Controls & Classes for VB6 - Version 4

clsFileIni Class

This class permits you to manage UNICODE .ini files; very useful for multi-language applications; it uses Standard Windows Unicode API and supports UNC paths.

Name Description
Name Description
Name Type Description
IniFile (String) Gets or sets the .ini file to manage
Name Type Description
GetSectionNames Gets an array containing the sections of the .ini file
GetSectionRowKey (String) Gets the key of a row obtained using the [GetSectionRows] function
GetSectionRows Gets an array containing the lines of the specified sections
GetSectionRowValue (String) Gets the value of a row obtained using the [GetSectionRows] function
ReadBool (Boolean) Reads a boolean from the selected file
ReadString (String) Reads a string from the selected file
WriteBool Writes a boolean value to the .ini file
WriteString Writes a string to the selected .ini file;
Check also the [clsFileIniEx] class if you need to load big files or .ini files without sections
By using WriteBool/WriteString methods, the file is updated immediately
Comments can be inserted using the # char before