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:
[SIZE=2][COLOR=#0000ff]
Dim[/COLOR][/SIZE][SIZE=2] oStreamRead [/SIZE][SIZE=2][COLOR=#0000ff]As[/COLOR][/SIZE][SIZE=2] IO.StreamReader
oStreamRead = [/SIZE][SIZE=2][COLOR=#0000ff]New[/COLOR][/SIZE][SIZE=2] IO.StreamReader(Application.StartupPath + [/SIZE][SIZE=2][COLOR=#800000]"\espanol.txt"[/COLOR][/SIZE][SIZE=2])
[/SIZE]
I really need this done, please help.
Thanks.