VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Text file logger

Azlan Sufian  (1 Submission)   Miscellaneous   Visual Basic 3.0   Advanced   Wed 3rd February 2021

The code is a VB class used to log data in a series of text files.
The text files will have common name with unique indices (the
file index is incremented each time a new file is created).
You can set limits such as how many lines/records in a text file and how many
files to create.
This class is a general purpose tool that can be used to log e.g.:
data, system events and errors.
You need to specify explicitly the common file name, extension, path,
number of records in a file and number of files to create.
There are options that you can set:
- whether to continue logging from previously created files or
to start with a new set of log files
- to continue printing/writing on next cursor position (print
without carriage return) or on next line (print with carriage
return)

Rate Text file logger (2(2 Vote))
Text file logger.bas

Text file logger Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters