Read from/Write to .INI Files without API Calls

Category:
Files and Directories
Type:
Modules
Difficulty:
Beginning
Author:
Bernie Madigan

Version Compatibility: Visual Basic 6

More information:
Here are two VB6 modules you can use for creating and reading INI files. You may like to save then in your Templates\Modules folder for easy recall.

The sample program demonstrates how information is recorded to and retrieved from an ini file, allowing seamless continuation on subsequent starts of the program. Whatever fields are displayed on the form, will appear next time it is run.

You are free to customize this code for you own need. There is no copyright. Contact me at any time. Regards Bernie Madigan. bernie@testrun.cjb.net (CreateAndRead_INI.zip)


Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download createandread_ini.zip