- Jun 6, 2020
- 11,517
- 4,383
Hello all,
I came across this Log To Text File Class in this thread.
I found it quite useful.
I wanted to introduce two additional methods to read the log file and to delete the log file.
Both the methods require the log file name which is internal to the Class.
(Actually, we specify the name of the log file, but internally, the name is appended with the current date. So, possibly, I can workaround that limitation of not having the internal file name).
How do I write a new class module which adds only the two additional methods, keeping the original class unmodified ?
I found this thread after searching the forum.
which says,
I came across this Log To Text File Class in this thread.
برای دیدن لینک ها باید ثبت نام کنید
I found it quite useful.
I wanted to introduce two additional methods to read the log file and to delete the log file.
Both the methods require the log file name which is internal to the Class.
(Actually, we specify the name of the log file, but internally, the name is appended with the current date. So, possibly, I can workaround that limitation of not having the internal file name).
How do I write a new class module which adds only the two additional methods, keeping the original class unmodified ?
I found this thread after searching the forum.
برای دیدن لینک ها باید ثبت نام کنید
which says,
That was way back in 2014. Is it not possible...برای دیدن لینک ها باید ثبت نام کنید
It is not possible to extend a class as there is no support for inheritance.
Click to expand...
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید