CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2001
    Posts
    6

    Saving data to disk

    I am trying to generate an HTML file through VB. Basicly what I have done is loaded an Access DB with a plain Data control. Then a button is pressed to activate code that will save a file to disk. This file consists of the general HTML structure tags, and withing the body of the document a list of links is generated. Now I know this works, but my issue is this... When I save the file to disk everything is between quotation marks. How do I get a like with spaces to save to disk without the quotation marks?! I really am stumped, please help!


  2. #2
    Join Date
    Dec 2000
    Location
    Canada
    Posts
    59

    Re: Saving data to disk

    Are you using the WRITE or PRINT command method to output the HTML to the file.
    Everyone you are using uses the opposite. I forget but I think you need to use PRINT.

    Hope it helps you
    Please vote if it helps

    Raistlin




  3. #3
    Join Date
    Apr 2000
    Location
    South Carolina,USA
    Posts
    2,210

    Re: Saving data to disk

    Use the PRINT statement to write to the disk File
    Use the LINE INPUT statement to read it back

    John G

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