Looking for .net Keywords? Try Ask4Keywords

.NET Framework VB WriteAllText


пример

Imports System.IO

Dim filename As String = "c:\path\to\file.txt"
File.WriteAllText(filename, "Text to write" & vbCrLf)