If I put some lines in a text file, it gets surrounded by double quotes. How to avoide getting ".
Thanks in advance
Printable View
If I put some lines in a text file, it gets surrounded by double quotes. How to avoide getting ".
Thanks in advance
are you using the write method?
try using the print method instead
try using the TextStream and FSO Object instead. Much faster and less coding!
Use this function:
You can then call the function and put a textbox.text or something in the contents parameter.VB Code:
Public Sub SaveFile(FileName, Contents) Open FileName For Output As #1 Print #1, Contents Close #1 End Sub
Thanks 2 All!