B
Billy
Hi!
How can I override "Debug.Writeline("Message")" so that will not show
that msg in Debug window, but wrote it to a file. I already have a code
to write to a file but I would like to use just "Debug" class (same
name) for that. Inside of that code I will decide if I will wrote that
message to debug window or to a file. I would like to use that two
options:
-Debug.Writeline("Message", 1) '1 is integer argument from 0-9
-Debug.Writeline("Message")
I would like to put that code in regular modul or class so I can call
then that method from any form or general procedure in application.
Im pretty sure that this can be done but don't know how. Can you help
me with that?
Billy
How can I override "Debug.Writeline("Message")" so that will not show
that msg in Debug window, but wrote it to a file. I already have a code
to write to a file but I would like to use just "Debug" class (same
name) for that. Inside of that code I will decide if I will wrote that
message to debug window or to a file. I would like to use that two
options:
-Debug.Writeline("Message", 1) '1 is integer argument from 0-9
-Debug.Writeline("Message")
I would like to put that code in regular modul or class so I can call
then that method from any form or general procedure in application.
Im pretty sure that this can be done but don't know how. Can you help
me with that?
Billy