Results 1 to 12 of 12

Thread: Trouble With Text Files

Threaded View

  1. #1

    Thread Starter
    Banned ThaRubby's Avatar
    Join Date
    Apr 2005
    Location
    127.0.0.1
    Posts
    356

    Trouble With Text Files

    Ok i got great help earlier but having a problem o.0

    Private Sub Form_Load()
    Dim sTemp As String
    Dim sTotalString As String
    Shell "C:\File.bat > C:\Irc.txt"
    Open "C:\Irc.txt" For Input As #1
    Do While EOF(1) = False
    Line Input #1, sTemp
    sTotalString = sTotalString & sTemp
    Text1.Text = sTotalString
    Loop
    End Sub


    The First line in the file its opening its blank so i dont think its reading that because of it...The only way i can get output into the textbox is if i click the button twice..
    Last edited by ThaRubby; May 3rd, 2005 at 10:14 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width