Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing values to a text file
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Passing values to a text file
Miscellaneous
Thread ID:
00976803
Message ID:
00976803
Views:
52
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
Neil Lewis
IT R&D Manager
Velmore Ltd
Next
Reply
Map
View

Click here to load this message in the networking platform