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

Recommended Answers

All 3 Replies

Hi GizmoPower welcome here at Daniweb:)
I think you will find the info you need here: http://www.dotnetspider.com/tutorials/DotNet-Tutorial-277.aspx

Tank you very much! This will help a lot on what I am trying to!
Really appreciate you taking time to answer me! :D

Might post a couple of questions about this if I get stuck

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.