VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Text file logger

by Azlan Sufian (1 Submission)
Category: Miscellaneous
Compatability: Visual Basic 3.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (2 Votes)

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

Upload

Download this snippet    Add to My Saved Code

Text file logger Comments

No comments have been posted about Text file logger. Why not be the first to post a comment about Text file logger.

Post your comment

Subject:
Message:
0/1000 characters