Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing values to a text file
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00976803
Message ID:
00976828
Vues:
10
Check Read / write .ini files File #9766

>I have a form which is initialised when the user starts the program. This gives the users the ability to select their name from the list. What I want to do when they select and then click ok is to write the value (username) to a text file named username.ini.
>
>The contents of the username.ini is as follows:
>
>[PATHS]
>homedrive=
>datapath=
>username=
>
>When the user clicks ok I would like the username to be inserted in ini file next to username so it should look like this:
>
>[PATHS]
>homedrive=
>datapath=
>username=neil
>
>Is this possible?
>
>Many Thanks
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform