Hello everyone!
First I want to say that I am really noob at this but I am trying to learn, so please be gentle! :D

I am making a application that will allow a user to change certian values of a .ini file, then save it. (Well trying to anyway..)

What I am struggling with in the application is how to recieve a certain value from a section within a .ini file when I open it to a texbox, then edit it and save it. (Is texBox what I should use?)
Eks:

susp_front
{
  y=0
  z=1.6
  restlen=0.43
  minlen=.1
  maxlen=.42
  k=20560

I want `20560` in the texbox for editing.
(I also want to add the rest of the values but getting the main principal would help me start)

I have google it for quite a while now (a week or so) without finding a solution.

It´s for a free racing sim called Racer (Racer.nl)

I would really apreciate some hint´s on how to do this.
And again I am veery noob so go gentle if you please!

Thanx
GizmoPower

Edited 7 Years Ago by Nick Evan: Added code-tags

This article has been dead for over six months. Start a new discussion instead.