'Program to write into the text file
'Program to create and write into the text file
Public Class Form1
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
Dim objwriter As New System.IO.StreamWriter("C:\Users\Desktop\text1.txt")
objwriter.WriteLine("writetest line")
objwriter.Close()
End Sub
End Class
'Program to create and write into the text file
Public Class Form1
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
Dim objwriter As New System.IO.StreamWriter("C:\Users\Desktop\text1.txt")
objwriter.WriteLine("writetest line")
objwriter.Close()
End Sub
End Class