Oh OK. Try this.
Code:Sub Command1_Click() Dim sFileName As String Dim s As String sFileName = Text1.Text & ".txt" 'OPen file and grab all contents Open sFileName For Input As #1 s = Input(LOF(1), 1) Close #1 Text2.Text = s End Sub
|
Results 1 to 11 of 11
Threaded View
|
Click Here to Expand Forum to Full Width |