Ab99
Member
Now I get the streamwriter working.
The next what I should want is write before every line in the text file the date and time.
This is what I have:
Example:
Line: F4 verbinding probleem
Needed: 06-02-2022, 12:52 F4 verbinding probleem
The next what I should want is write before every line in the text file the date and time.
This is what I have:
Time adding:
Dim fPath = "C:\TimingForHorses\Logging.txt"
Dim afile As New IO.StreamWriter(fPath, True)
afile.WriteLine("F4 verbinding probleem")
afile.Close()
Example:
Line: F4 verbinding probleem
Needed: 06-02-2022, 12:52 F4 verbinding probleem