Dim FILE_NAME As String = "C:\Application\Myfile.txt" If System.IO.File.Exists(FILE_NAME) = True Then Dim objWriter As New System.IO.StreamWriter(FILE_NAME) objWriter.Write(fullPath) objWriter.Close() MsgBox("Text written to file") Else MsgBox("File Does Not Exist") End If
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)