CodeItBetter Programming Another VB Programming Blog

How to Append a line to the end of a file

Posted on January 4, 2009
1
2
3
4
5
6
'Text File Handling - How to Append a line to the end of a file
Private Sub appendLine(ByVal strFile As String, ByVal strLineOfText As String)
    Open strFile For Append As #1
    Print #1, strLineOfText
    Close #1
End Sub
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


 

No trackbacks yet.