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:
Dim fPath = "C:\TimingForHorses\Logging.txt"
Dim afile As New IO.StreamWriter(fPath, True)...
I want to create an text file and want to write lines in it.
Creating the text file is not the problem.
But I can not write outside the Sub Form Load.
I have many subs were I want to writes lines into the same txt file.
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As...
Hello,
I have an problem with my program, Windows Form based.
My laptop with Windows 10 and Office 2007 does not have any problems. I can open Excel from my program.
With an other laptop, Windows 10 and excel it gives some problems. I get this fault:
I am working with Visual Studio 2019 or...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.