Ok, As it turns out, it depends on if you are written to a new file, or appending data to an existing file..... writing data to a new file will be like this:
Dim tw As System.IO.TextWriter
tw = System.IO.File.CreateText("C:\MyTextFile.txt")
tw.WriteLine(text1.text) 'assuming the name of your textbox is text1
However, If you are writing to an existing file....
Dim sw As IO.TextWriter
sw = IO.File.AppendText("C:\MyTextFile.txt")
So, You have to know if you are writing to an existing file or not, to determine how you will go about writing to it. If You want to do either, regardless if the file exists or not, you could do an if statement with File.Exists("c:\MyTextFile.txt"), which should return true or false depending on if the file exists or not.
Problem with that code is it over writes the current data and text file. Your method works well with the button but is it possible to make it work in a timer without scrolling the same data over and over again? My goal with this is to have the textbox write to a textfile without user intervention.
I Developed application in C# with crystal reports and created setup file in third party (Advance) Installer.When i installed my application on client system application is working but ...