how can i read a specific text from a text file back to a textbox?
so here are the text
heburn@YAHOO.COM, TAGUIG, 9460593, ASRock, 2.4 GHz, Dual, Core, HDD, 160 GB,5, 200, 2 GB, 2,512 MB, YES
and i just want get the text
You can read the entire file into a string array by Dim text() As String = System.IO.File.ReadAllLines(filename) If the file contains many lines and you only want one (assuming you can uniquely identify a line by, for example, the email address) you can do Dim email As String = "heburn@YAHOO.COM" … Read More
Sorry. My mistake. The line should have been Dim text() As String = Filter(System.IO.File.ReadAllLines(filename),email) Read More
Edited by aarviii
Edited by Reverend Jim