VB Project Source Code

Create Text File vb.net




Free download this tutorial link below

'Make MyFolder Folder and then run the project



Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

        My.Computer.FileSystem.WriteAllText("C:\MyFolder\MyFile.txt", "Create text file", True)

    End Sub
End Class