How to append text to an existing text file
问题 I have a program, which writes data to a text file in the following format. test1 - test1 - test1 - test1 After writing the first line, the text fields are cleared to make space for another round of user input. Simply said, this is how it should look: test1 - test1 - test1 - test1 test2 - test2 - test2 - test2 test3 - test3 - test3 - test3 Here's my code If Not File.Exists(path) Then MessageBox.Show("File doesn't exist in the given path", "No File", MessageBoxButtons.OK, MessageBoxIcon.Error)