Hello!
I got a little bit struggle into this.
The thing I want should work like this:
- open the .exe file
- read it and get it into a textbox (somehow exactly how notepad/notepad++ does)
- if "string" is found into textbox, then replace it with "gnirts"
- save the new executable with "gnirts" instead of "string"
I'd like to do it because it will save a lot of time, for now, I do this manually with Notepad++
Thanks!
What I have tried:
Dim lines() As String = IO.File.ReadAllLines(pathTxt.Text, Encoding.Default)
For Each line As String In lines
valueTxt.AppendText(line & vbCrLf)
Next