PINI.BAS documentation file
This software is Freeware. Please distribute freely.
This software has no warranties either expressed or implied. If you use
it, you assume all responsibilities for any damage done to any hardware or
software. The author can not be held responsible for any damaged incurred.
I wrote this module after finding VBX's that did the same thing but had a
'nag' screen on them. Also, they wanted $8 or more to register them. I
thought "Why pay for a VBX when I can write a module to do the same thing
in a couple hours or so." Well, as it turned out it took less than an hour
and surprisingly few lines of code.
PINI stands for Private INI. Windows has two similar calls, one to
read/write the WIN.INI file, and another to read/write all other INI files.
GetProfileString is used on the WIN.INI file, and GetPrivateProfileString is
used on all other INI files. The main difference between the two functions
is you don't specify a filename with the first function because WIN.INI is
implied. You need to supply the name of the INI file in the second one.
My module works with both, simply specify "WIN.INI" as the file name.
PINI has three functions: ReadPINIInt: reads an integer
ReadPINIString: reads a string
WritePINIString: writes a string
These functions are detailed as follows:
Returns: Integer value
Returns: String value
Result: "HP LaserJet Series II,HPPCL,LPT1:"
Returns: Integer, non-zero if successfull, 0 if not successfull
I haven't tested this module extensively. If you find any bugs or have any
suggestions for this or other modules please call, write, or Email me at:
Written by: Tim Berneman
7203 Forest Court
Des Moines, IA 50311-1329
1) [email protected]
(Please try in this order)
2) [email protected]
3 )[email protected]
End of PINI.BAS documentation file