Jobs
Author: Shayne Cairns Date Submitted: 2/24/2006 Category: String Handling/Manipulation Compatibility: VB 6 This code has been accessed 5768 times.
Email Yourself this snippet:
Dim InputData
Code
Open "C:\NEWFILE" For Input As #1 ' Open file for input. Do While Not EOF(1) ' Check for end of file. Line Input #1, InputData ' Read line of data. Debug.Print InputData ' Print to the Immediate window. Loop Close #1 ' Close file.