Private Sub Command2_Click()
    Dim buf As String
    Dim tmp As String
    
    buf = ""
    Open "i:\2.txt" For Input As #1
    Do Until EOF(1)
        Line Input #1, tmp
        buf = buf & tmp
    Loop
    Debug.Print buf
    Close #1
End Sub