Module Module1 Sub Main() My.Computer.FileSystem.WriteAllText("new.txt", "This is a string", False) End Sub End Module