"The code is exactly
how I would like to write code and the algorithms used are very
efficient and well-documented."
Van T. Dinh, Microsoft MVP
|
|
Module: modINIFile
Windows Initialization (INI) files Initialization (INI) files are the primary mechanism that 16-bit Windows programs use to store setting information. Additionally, Windows itself stores its settings for the most part in various INI files in the Windows directory. Even in the 32-bit world, INI files are still used.
This category contains procedures to read and write INI file values in both the built-in Windows files and your own custom INI files.
Windows splits INI file access into two categories:
1. INI Operations: all operations are hardcoded to go to the WIN.INI file located in the Windows directory.
2. Private INI: all operations work on the INI file specified in the call. Use the "private" INI functions to work with all INI files other than WIN.INI. Interestingly, you can use the "private" INI functions on WIN.INI by specifying WIN.INI as the file to work with.
|
Procedure Name
|
Type
|
Description
|
|
(Declarations)
|
Declarations
|
Declarations and private variables for the modINIFile module
|
|
INIGetSettingInteger
|
Procedure
|
Returns an integer value from the specified INI file
|
|
INIGetSettingString
|
Procedure
|
Returns a string value from the specified INI file
|
|
INIWriteSetting
|
Procedure
|
Writes the specified value to the specified INI file
|
|
WinINIGetSettingInteger
|
Procedure
|
Returns an integer value from WIN.INI
|
|
WinINIGetSettingString
|
Procedure
|
Returns a string value from the WIN.INI file
|
|
WinINIWriteSetting
|
Procedure
|
Writes the specified value to WIN.INI
|
Overview of Total Visual SourceBook
The source code in Total Visual
SourceBook includes modules and classes for Microsoft Access, Visual
Basic 6 (VB6), and Visual Basic for Applications (VBA) developers. Easily
add this professionally written, tested, and documented royalty-free code
into your applications to simplify your application development efforts.
Additional Resources
|
|