This article was submitted .

Application Features

  • Easy interface to .INI files on the computer.
  • Light-weight COM object.


Light-weight and fast COM component for Visual Basic 6 and ASP developers.
Gives you access to the Windows .INI configuration file API. You can not only read and write entries in any file, but also enumerate the sections available, the keys in each section and even retrieve the complete section text.

Almost any simple data type can be written to the .INI file. The data will be passed as a VARIANT argument and the ::VariantChangeType() API is then used to handle coercion between the fundamental types.
When data is read from the .INI file, a string is always returned. You may convert the data afterwards.

Here is a sample of how to use it from JScript:

   var ini = new ActiveXObject("EasyINI");
   var title = ini("MySection", "MyKey")


SetSets the current filename.
ValueSets/returns a value in the INI file.
SectionTextReturns the complete section text.
FlushCommits all changes to disk.
SectionKeysReturns a collection of all the keys in a sections.
SectionsReturns a collection of all the Section names.

The Source Code

It's almost entirely generated with the ATL Wizard and the build-in class-wizard.
HTML Help documentation generated with my DocWizard wizard for MSVC++ 6.0.

Source Code Dependencies

Microsoft Visual C++ 6.0
Microsoft ATL Library
Microsoft HTML Help Workshop

Installation Guide

  • Copy the DLL to a directory of your choice and register it using the REGSVR32 utility.

See Also

EasyReg Component
EasyNLS Component

Download Files

DownloadBinary Files and Documentation (23 Kb)
Source Code (88 Kb)

To the top