Jobs
Author: Karthick @ The Hindu Date Submitted: 5/7/2006 Category: File Manipulation Compatibility: .NET This code has been accessed 6455 times.
Email Yourself this snippet:
no declaration Paste one text box with multiline property and expand its size.
Code
Private Sub Form_Load() Dim FileLength Open "D:\karthik\testfiles\bctest1.txt" For Input As #1 FileLength = LOF(1) var1 = Input(FileLength, #1) Text1.Text = var1 Close #1 End Sub