Dim objStreamWriter2 As StreamWriter
Dim DTString As String
DTString = "C:\\ETCLINK\\" + Convert.ToString(Date.Now)
'Pass the file path and the file name to the StreamWriter constructor.
objStreamWriter2 = New StreamWriter(DTString)
I take a runtime error when the code is run. What is the problem? Thank you? (objStreamWriter2 = New StreamWriter("C:\ETCLINK\09042008121212.txt") no problem here