is it possible to do a string replace in a .txt file without opening the file? the file is over 64k so it won't go in a textbox.
Printable View
is it possible to do a string replace in a .txt file without opening the file? the file is over 64k so it won't go in a textbox.
Easiest way that I can think of to do it is to put it into a Rich Text Box, thought that control is significantly larger than a text box control.
Open the file for input and assign the whole each line to a string and the search the string. There is no need to enter it into a text box.
thanks Crazy_bee, could you give me an example to follow