I am trying to write to a .txt file here is my code:
VB Code:
Dim oFile As System.IO.File Dim oWrite As System.IO.StreamWriter oWrite = oFile.CreateText("C:\New.txt") oWrite.WriteLine("This is just a test.") oWrite.WriteLine()
The code will create a new txt file, but it will not write the text to the file.
thanks




Reply With Quote