Application Features
- Easy interface to .INI files on the computer.
- Light-weight COM object.
Description
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");
ini.Set(filename);
var title = ini("MySection", "MyKey")
Interface
Name | Description | |
---|---|---|
Set | Sets the current filename. | |
Value | Sets/returns a value in the INI file. | |
SectionText | Returns the complete section text. | |
Flush | Commits all changes to disk. | |
SectionKeys | Returns a collection of all the keys in a sections. | |
Sections | Returns 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.0Microsoft 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 ComponentEasyNLS Component
Download Files
Binary Files and Documentation (23 Kb) Source Code (88 Kb) |