L
Lars Brownies
With code like the following:
Open "c:\MyLog.txt" For Output As #1
Write #1, strError
Close #1
I log the errors users encounter. However I don't want this file to become
bigger than about 250 lines.
So I am thinking of a cleaning routine which runs when the first user of
that day logs in, and deletes the oldest lines, so that that are only 250
lines left.
How would I go about this or are there better approaches / other ideas?
Thanks,
Lars
Open "c:\MyLog.txt" For Output As #1
Write #1, strError
Close #1
I log the errors users encounter. However I don't want this file to become
bigger than about 250 lines.
So I am thinking of a cleaning routine which runs when the first user of
that day logs in, and deletes the oldest lines, so that that are only 250
lines left.
How would I go about this or are there better approaches / other ideas?
Thanks,
Lars