Click to See Complete Forum and Search --> : Saving data to disk


ansi
March 22nd, 2001, 09:57 AM
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!

Raistlin
March 22nd, 2001, 10:14 AM
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

John G Duffy
March 22nd, 2001, 10:23 AM
Use the PRINT statement to write to the disk File
Use the LINE INPUT statement to read it back

John G