VB Code:
  1. Private Sub Form_Load()
  2. Open "c:\TEXT.TXT" For Output As #1
  3.     Get #1, , fileinfo
  4. Close #1
  5. Text1.Text = fileinfo
  6. End Sub


runtime error 54 "bad file mode". Highlights the 'get #1, , fileinfo" string of code


Any help would be appreciated