Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ip Config (for engines)
#8
Perfekt Wrote:
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")

I tried that. The error went away, but it still isn't working. As I said before, its still just using the value's set in the code itself. Its also not even writing the value's into the config.ini. Its not even loading the value's into the form, set in the .ini file itself!
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)