VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Writes a string to a file without saving the quotes.

by Anonymous (267 Submissions)
Category: Files/File Controls/Input/Output
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Wed 4th August 2004
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Writes a string to a file without saving the quotes.

Rate Writes a string to a file without saving the quotes.



    Dim F As Integer, strPath As String
    'strPath = (Path To Be Written To)
    'Example: "C:\Documents And Settings\(User)\Desktop\Test.txt"
    
    F = FreeFile
    Open strPath For Binary Access Write Lock Read As F
    Put #F, , Info
    Reset
End Sub

Private Sub Form_Load()
   Call FileCopy("Test" & vbCrLf & "Test2" & vbCrLf & "Test3")
End Sub


Download this snippet    Add to My Saved Code

Writes a string to a file without saving the quotes. Comments

No comments have been posted about Writes a string to a file without saving the quotes.. Why not be the first to post a comment about Writes a string to a file without saving the quotes..

Post your comment

Subject:
Message:
0/1000 characters