evolution445
Technical User
- Sep 2, 2007
- 4
Hi all,
In my program a user can specify a path where an .cfg file is located. I also got some textboxes where users can add their own data. When they click the Start button I want my program to search and change some strings inside the .cfg file.
I already attempted my problem with this:
But from there on Im stuck and don't know how to proceed.
Thanks in advance
In my program a user can specify a path where an .cfg file is located. I also got some textboxes where users can add their own data. When they click the Start button I want my program to search and change some strings inside the .cfg file.
I already attempted my problem with this:
Code:
Dim Readtxt As System.IO.StreamReader
Dim Writetxt As System.IO.StreamWriter
System.IO.File.OpenText(folder.Text & "\data.cfg"
But from there on Im stuck and don't know how to proceed.
Thanks in advance