Appending a file

  • Thread starter Thread starter Guest
  • Start date Start date
Kurien Baker Fenn said:
How to append a file with a new file?.

For example:

\\\
Dim sw As New StreamWriter(Path:="C:\foo.txt", Append:=True)
sw.WriteLine("Hello World!")
sw.Close()
///

For reading the other file, you can use
'StreamReader'/'BinaryReader'/'FileStream'.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top