Results 1 to 2 of 2

Thread: [RESOLVED] gprinting to a text file

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2004
    Location
    Newcastle
    Posts
    114

    Resolved [RESOLVED] gprinting to a text file

    hi guys, i have the code to print to a text file, but when i print to it, it deletes everything i had in there, and prints just the line i have added, all i want is to add to the current list, in the text file.. any pointers? cheers

    Code:
    Dim E          As Integer
    E = FreeFile
    Open App.Path & "\room.txt" For Output As #E
    Print #E, Text1.Text & ":" & Text2.Text
    Close #E

  2. #2

    Thread Starter
    Lively Member
    Join Date
    Mar 2004
    Location
    Newcastle
    Posts
    114

    Re: gprinting to a text file

    soz, i used output instead of append.. thanks anyway

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