Hi Rick,
The .cfg file I'm trying to modify is from another .exe application. I attempted it again a few times with the code you provided but it doesn't seem to work.
I was wondering maybe if I did something wrong with the SearchStrings. I only wrote the value it has to search for between the...
Thanks for your reply Rick, but it doesn't seem to work in my situation, since it's not an XML file I'm reading/changing.
When my program is started the user will be prompted with a Browse folder dialog. Then they have to select the path where the Data.cfg file is located. This will then be...
Sorry for this repost but I think I haven't really explained my problem very well.
What I want to achieve is: A user fills Textbox1 with "Test", then once the user clicks the Start button, I want the program to search for a certain string ( String1 = "ABCDE" ) in a cfg file and change it (...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.