Quick Find: Search for:

 Total Access Components
Control Tour

Return to Components Home
 

 
 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

About Box

AVI (Video)

Bitmap Effects

Border
Browse for Folder New!
CD Player
Clipboard
Clock
Common Dialogs
Date Time Picker New!
Digital Display
Enhanced Button
Gauge
Icon Menu
INI File
Marquee
Notes
Popup Menu
Progress Meter
Registry
Resize
Slider
Spin Button
Splitter
System Info
Tab Strip
Text Effects
Timer
Wave
 

 

Total Access Components Tour: INI File

The INI File control is a non-display control that makes it easy to read values from, and write values to, Windows Initialization (INI) files. 16-bit versions of Windows, and most 16-bit Windows applications (including Access 2.0) store settings in these initialization files. In addition, your application can take advantage of INI files to read and write information that is saved between invocations. INI files are simple text files that consist of Sections and Keys. A section is identified by title text enclosed in square brackets ( [ ] ). All entries after the title, and up to the next title are part of that section.

Using the INI File Control

Using the INI File control is very easy because it has only one property and two methods. First, identify the location and name of the help file using the FileName property. Once this is done, use the GetValue method to retrieve a value from the INI file, or the SetValue method to write text.

INI File Properties

Name

Description

FileName The full path and filename of the INI file to use.

INI File Methods

Name

Description

GetValue Retrieves a value.
SetValue Sets a value.
Contact Us  l   Web questions: Webmaster   l   Copyright © 2008 FMS, Inc.

Celebrating 22 Years of Software Excellence