The StreamWriter class is the channel through which you send data to a text file. To create a new StreamWriter object, declare a variable of the StreamWriter type. The first overloaded form of the constructor accepts a file’s path as an argument and creates a new StreamWriter object for the file:
Dim SW As New StreamWriter(path)
The new object […]Read More...