Try Dim filePath As String filePath = System.IO.Path.Combine( My.Computer.FileSystem.SpecialDirectories.Desktop, My.Forms.Form1.TXTNAME.Text) My.Computer.FileSystem.WriteAllText(filePath, My.Forms.Form1.TXTTEXT.Text, False) Catch fileException As Exception Throw fileException End Try
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)