Sign in to follow this  
Followers 0
tom13

Configuration file?

4 posts in this topic

I made a program that has variables as configuration. So for example the variable $time determines howmany milliseconds it takes to exit:

Assign("time", "1000")

Now I want to have a user friendly interface that lets the user change 1000 into something else and that this new amount is saved. Should I do this with a XML file? If so, how do I let the .exe file get the variable out of the .xml file and how do I make a configuration UI in which you can change the variables in the XML file?

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Use INI file. Look into helpfile at IniRead, IniWrite functions ...

EDIT:

Now I want to have a user friendly interface that lets the user change 1000 into something else

Use InputBox function Edited by Zedna

Share this post


Link to post
Share on other sites

Use INI file. Look into helpfile at IniRead, IniWrite functions ...

EDIT:

Use InputBox function

Nice, but how do I execute IniWrite when the user for example clicks on a radio button?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0