0

So let's say this is inside a .ini file:

[general]

Something = 1

Somethingelse = 5

Inside the form are 3 things: 2 textboxes and one button.
When i open the form it should load the ini file and make textbox1 to be equal to Something (1 in the example) and Textbox2 should be equal to Somethingelse (which is 5)
And when i click the button it should save the changes (so if i changed Textbox1 to "2", it should change "something = 1" to "something = 2" inside the .ini file).

I'm sorry for my bad english, Linuxfreak23

Community
  • 1
  • 1
RevoltPlz
  • 183
  • 1
  • 2
  • 9
  • 1
    Do you have to use a .ini file? They were considered obsolete over 10 years ago. XML files are easier to work with, certainly from .NET. – RenniePet May 16 '14 at 16:36
  • @RenniePet The .ini is not created by me. Basicly i'm creating this program to change the settings from a program that's made by someone else that uses .ini to save it's settings. So the answer to that question is: yes, i have to use a .ini file – RevoltPlz May 16 '14 at 16:37

0 Answers0