Search Value Of Textbox In A Notepad (.txt) And Copy In A New Notepad?Sep 14, 2011
I am trying to create a tool which I would input a word in a text box and it would search the path i give it to look for a word in a notepad file and copy the whole line to a new notepad and paste it.
i did this for now, i am able but i am able to copy all the text from the note pad and put it in a textbox for now..
Dim FILE_NAME As String = "P: est est.txt"
Dim objReader As New System.IO.StreamReader(FILE_NAME)
Dim TextLine As String
I am having trouble to get the command to ask them to go read the text file and copy only the line for the word I put in the input box and to put it in a new notepad.