Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with too much of a string written to file.

Status
Not open for further replies.

Sorwen

Technical User
Nov 30, 2002
1,641
US
First my code:
Code:
Function WriteFile(FileName As String, FileData As String) As Boolean
    
    Open FileName For Output Access Write As #1
    Write #1, FileData
    Close #1
    
End Function

Now my problem. When I use this to write to a file the whole string is written with " " around it. I tried Variant, but if a string is passed it still does the quotes. How can I get it to write a string without the quotes? Note right now the function doesn't return anything. That is for later.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top