09-30-2001, 08:09 PM
when writing to a file i need to put qoutation marks..it dont work?why?how do I fix this?please help!
"You all stare, but you'll never see; theres something inside me!"
09-30-2001, 08:52 PM
What code are you using to write to a file?
"I do not agree with a word you say, but I will defend to the death your right to say it" - Voltaire
09-30-2001, 10:37 PM
here's another way of doing it:
Open "C:\windows\desktop\Output.txt" for output as #1
print #1, chr(34) & "Text inside quotation mark" & chr(34)
the chr(asciicode) function translates the given ascii char number which is in this case is 34, the ascii code for the Quotation mark, to it's desired character. Hope this helps!
10-01-2001, 01:19 PM
Print #1, """Text inside quotation mark"""
may work too.
10-01-2001, 01:23 PM
i never knew about that way of doing it
10-01-2001, 08:50 PM
Don't have VB on this machine so I can't verify, but isn't it 4 rather than 3? I could be mistaken but thought I'd mention something jic...
HOOOaaaaa! Semper Fi!