Create Text in notepad in vb.net

Dim x As String = "test, test1, test2"
Dim txt() As String = x.Split(",")
Dim sw As StreamWriter
Dim dt As String = convertDate(DateTime.UtcNow)
sw = File.CreateText("D://File " + dt + ".txt")
For Each item In txt
     sw.WriteLine(item)
Next
sw.Close()
Share on Google Plus

About the evening sunshine

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.

0 ulasan :

Post a Comment