unchew
May 2nd, 2006, 09:10 PM
I am trying to import some text from a .txt file and then be able to retrieve specific lines as strings. I have managed to open the text file using a StreamReader Object and thats it. I have no idea how to tell VB to extract certain lines I want. Any idea how this is done?
Here is my code at present:
Dim oStreamRead As IO.StreamReader
oStreamRead = New IO.StreamReader(Application.StartupPath + "\espanol.txt")
I really need this done, please help.
Thanks.
Here is my code at present:
Dim oStreamRead As IO.StreamReader
oStreamRead = New IO.StreamReader(Application.StartupPath + "\espanol.txt")
I really need this done, please help.
Thanks.