CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Location
    Cambridge University, U.K.
    Posts
    10

    write str to file



    Hi: there


    Here is code for writing string to file:


    Dim fileFile As Integer

    fileFile = FreeFile

    Open strFile For Output As fileFile

    Write #fileFile, "this is String"

    Close fileFile


    problem is that in the txt file, it will have 'quote' with the string, it's annoying, how can we make this not happen?


    thanks

  2. #2
    Join Date
    Jan 1999
    Posts
    3

    Re: write str to file



    Use Print# instead.

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

Featured