>How can I modify an INI file? (Specifically WZSETUP.INI)
>
>Thanks,
>Elyse
Hi Elyse,
If you use Visual FoxPro 5, I suggest you take a look at FOCUS.FLL. This is a powerful C library that contains several hundreds of functions. It features a complete set of INI file functions.
For example, you can use the FIL_ReadIni() function to read an entry from an INI file : FIL_ReadIni(cSection,cEntry,cINIFile). This returns the value of the entry. Or you can use the FIL_WriteIni() function to write values to an INI file (if the value does not exist it is created within the section; if the section does not exist, it is created in the INI file; if the INI file does not exist, it is created for you ) : FIL_WriteIni(cSection,cEntry,cValue,cINIFile)
FOCUS.FLL can be downloaded from teh web site of FastWrite (
http://www.FastWrite.com/Focus/Focusfll.htm).
Pat