Results 1 to 5 of 5

Thread: Output Access Write #1

  1. #1
    ramram
    Guest

    Output Access Write #1

    If I put some lines in a text file, it gets surrounded by double quotes. How to avoide getting ".
    Thanks in advance

  2. #2
    Junior Member
    Join Date
    Jul 2001
    Posts
    19
    are you using the write method?
    try using the print method instead

  3. #3
    PowerPoster
    Join Date
    Jan 2001
    Location
    Florida
    Posts
    3,216
    try using the TextStream and FSO Object instead. Much faster and less coding!

  4. #4
    Frenzied Member numtel's Avatar
    Join Date
    Apr 2000
    Location
    CA
    Posts
    1,163
    Use this function:

    VB Code:
    1. Public Sub SaveFile(FileName, Contents)
    2.     Open FileName For Output As #1
    3.         Print #1, Contents
    4.     Close #1
    5. End Sub
    You can then call the function and put a textbox.text or something in the contents parameter.

  5. #5
    ramram
    Guest
    Thanks 2 All!

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