VB.NET - Write Text to a File



Write Text to a File


'Dim Filename as String = "c:\syntaxhelp.txt"
'Dim TextToWrite as String = "welcome!"

My.Computer.FileSystem.WriteAllText(FileName, TextToWrite, True)

Share |

 Cant find the page you are looking for?
 Help us to improve by adding the content that you are looking for.
 Leave a feedback
 We look forward to hear your comments and feedback.