Hum... Smells like homework.
Search the VB related forums/faq's for "read" "file" "input" and you will find a few threads/examples that should help you.
=========================================================
i wish i was young enough to have homework

LOL
and the "Search" usually hardly works in this Forum
anyways i found the answer a few minutes right after i posted the question...i was actually working on an old Visual Basic for DOS 1.0 program to give a sort of File preview or a preview what was in the File before you opened it....and forgetting to add "$" at the end of INPUT
and was getting an ERROR ..fixed it to INPUT$ in VBDOS1.0
=======================================================
The Line Input # statement reads from a file one character at a time until it encounters a carriage return (Chr(13)) or carriage return–linefeed (Chr(13) + Chr(10)) sequence. Carriage return–linefeed sequences are skipped rather than appended to the character string.
Dim TextLine
Open "TESTFILE" For Input As #1 ' Open file.
Do While Not EOF(1) ' Loop until end of file.
Line Input #1, TextLine ' Read line into variable.
Debug.Print TextLine ' Print to the Immediate window.
Loop
Close #1 ' Close file.
Dim MyChar
Open "TESTFILE" For Input As #1 ' Open file.
Do While Not EOF(1) ' Loop until end of file.
MyChar = Input(1, #1) ' Get one character.
Debug.Print MyChar ' Print to the Immediate window.
Loop
Close #1 ' Close file.
--------------------------------------------------------------------
in Visual Basic for DOS 1.0
INPUT$(n[,[#]filenumber%])
¦ n Number of characters (bytes) to read
¦ filenumber% Number of an open file; if omitted, INPUT$ reads from
the keyboard
Dim MyChar
Open "TESTFILE" For Input As #1 ' Open file.
Do While Not EOF(1) ' Loop until end of file.
MyChar = Input$(1, #1) ' Get one character.
Debug.Print MyChar ' Print to the Immediate window.
Loop
Close #1 ' Close file.
MaxRace Software - Larry Meaux
ET_Analyst for DragRacers
Support Israel - Genesis 12:3