i build project and i have some problems..
1.i need to know how i put the Text in the TextBox in the code
ofek149 = The text in the TextBox
2.how i add a date to this code:
i want when this code create a txt..
in the txt file have the text "Test" and near the Date
Example
[31/08/2012]Test
good day..
1.i need to know how i put the Text in the TextBox in the code
Try
Dim writeFile As System.IO.TextWriter = New _
StreamWriter("ofek149\Test.txt")
writeFile.WriteLine("Test")
writeFile.Flush()
writeFile.Close()
writeFile = Nothing
Catch ex As IOException
MsgBox(ex.ToString)
End Try
ofek149 = The text in the TextBox
2.how i add a date to this code:
Try
Dim writeFile As System.IO.TextWriter = New _
StreamWriter("ofek149\Test.txt")
writeFile.WriteLine("Test")
writeFile.Flush()
writeFile.Close()
writeFile = Nothing
Catch ex As IOException
MsgBox(ex.ToString)
End Try
i want when this code create a txt..
in the txt file have the text "Test" and near the Date
Example
[31/08/2012]Test
good day..