Create or Manipulate INI Files Easily

Category:
Files and Directories
Type:
Classes
Difficulty:
Beginning

Author: Anonymous

Version Compatibility: Visual Basic 6

More information:
Very simple to use, make, modify, save and load INI files easily. To make a new file: Dim X As New ModINI Call X.NewINI Call X.AddSection("Section") Call X.AddKey("Section", "Key", "Value") Call X.SaveINI("C:\Ini.ini") To load a file and extract data: ------------------------------ Dim X As New ModINI Call X.LoadINI("Ini.ini") Variable = X.GetKeyValue("Section", "Key") This class includes other functions, like the ability to rename sections and keys and change key values etc.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: