|
-
May 3rd, 2013, 06:46 PM
#1
Thread Starter
New Member
[RESOLVED] Help please! Stuck on .ini files
Hello there. Basically i have been coding a program and i've got to a part where now i need to have a windows form that has 11 text boxes, each text box reading a corresponding line from a config.ini file on my c drive. Then i want to make it so i have a write button which will write to the file any changes i have made in the textboxes. The config.ini has the following contents :
{ignore this line but in the file i need this to be a empty line so that the ini file starts 2 lines down}
[client]
name = ray
xres = 800
yres = 600
vol = 10
inverty = 0
windowed = 1
language = 0
mouse_sensitivity = 5.000000
show_news = 1
now comes the real challenge. i want to make it so i can only see everything after the = in the config file inside the textbox so that i am only changing the value at the end of the line, is this possible to do? and if so could some absolute life saver do this on a forms1 so i could set it up & test it. it would be greatly appreciated. thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|