Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modifying an INI file
Message
From
29/05/1998 05:59:33
 
 
To
14/05/1998 10:44:06
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00099423
Message ID:
00103011
Views:
29
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform