Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modifying an INI file
Message
De
29/05/1998 05:59:33
 
 
À
14/05/1998 10:44:06
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00099423
Message ID:
00103011
Vues:
30
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform