03-08-2007, 01:55 AM
Sonire Wrote:Bah, noob. He needs the ReadINI and WriteINI functions for this tutorial. Though using getVar and PutVar is easier, since it is already in the server.
Dude, I know. But getvar and putvar are easier to use for several reasons.
You add the subs, and I think 2 lines declaring the file used for them.
Then..
It's just ip = getvar(app.path & "/filename.ini", "HEADER", "Data")
So..
IP = GetVar(App.Path & "/settings.ini", "IPCONFIG", "IP")