, .NET , . , - File.WriteAllText. , , . File.Create - . ( ), , . MSDN:
Dim path As String = "c:\temp\MyTest.txt"
' Create or overwrite the file.
Dim fs As FileStream = File.Create(path)
' Add text to the file.
Dim info As Byte() = New UTF8Encoding(True).GetBytes(
"This is some text in the file.")
fs.Write(info, 0, info.Length)
fs.Close()