Dim filepath As String = "c://test.txt"
If Not System.IO.File.Exists(filepath) Then
System.IO.File.Create(filepath)
End If
' System.IO.File.OpenWrite(filepath)
My.Computer.FileSystem.WriteAllText(filepath,"hello world",True)
Dim filepath As String = "c://test.txt"
If Not System.IO.File.Exists(filepath) Then
System.IO.File.Create(filepath)
End If
' System.IO.File.OpenWrite(filepath)
My.Computer.FileSystem.WriteAllText(filepath,"hello world",True)