Dim path As String = "c:\temp\MyTest.txt"
If File.Exists(path) = False Then' Create a file to write to.
Dim sw As StreamWriter = File.CreateText(path)
sw.WriteLine("这里就是我要查看的数据")
sw.Flush()
sw.Close()
End If
Dim path As String = "c:\temp\MyTest.txt"
If File.Exists(path) = False Then