Second line from .txt-file

kotivalo
04-20-2003, 04:51 PM
Im using

Dim file As String
file = ""
Open file For Input As #1
TextBox1.Text = Input(LOF(1), #1)
Close

for loading a file in a Textbox. Does anyone know how to read only the
second or third row from a file and just load that in a TextBox?

Squirm
04-20-2003, 04:56 PM
Read the first one (or two) lines using Line Input, then read the next line using Line Input and place it into your textbox.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum