Firstly, think of how you would want to do it, write it down.
Work out some code that looks like it should do what you wanted.
try it, what does it do?
if it doesnt work, post it, explain what you're getting you didnt expect, and ask for assistance.
Dont post just asking for us to do it for you
LizR
Posting Virtuoso
1,791 posts since Aug 2008
Reputation Points: 196
Solved Threads: 190
Open the first file with FileMode.Append.
Open the file to append with FileMode.Open.
Read the file to append into a byte array.
Write the byte array to the first file.
ddanbe
Senior Poster
3,829 posts since Oct 2008
Reputation Points: 2,070
Solved Threads: 661
TextBox1.Text=sr.ReadLine();
ReadLine reads a file untill the next \n character, this line is then put into a textbox. Nice.
What's the relevancy with this question ?
ddanbe
Senior Poster
3,829 posts since Oct 2008
Reputation Points: 2,070
Solved Threads: 661
That's very inventive BlackSun.
But if I drink wine I use a wineglass.
When I drink a coffee I use a coffeecup.
Do you drink wine from a coffeecup?
Don't use a textbox for this, but use a string.
ddanbe
Senior Poster
3,829 posts since Oct 2008
Reputation Points: 2,070
Solved Threads: 661
Actually nareitz what LizR did was the correct response. If you check the forum policy it clearly states that users should attempt to solve the problem themselves before posting. We are here to help troubleshoot, not to do all the work.
You may be right that they know how to do it themselves, if that is the case, they should post what they have and ask if there is a better way to do it.
next time you have something to say, perhaps you should read the forum rules before you lambaste a poster without good cause.
Ryshad
Nearly a Posting Virtuoso
1,307 posts since Aug 2009
Reputation Points: 512
Solved Threads: 246