Hallo,
Ich will in dem Sub alles per Try und Catch anweißung sichern.
und zwar so, dass wenn ex as Exception gecacht wird, dass dieser Fehler sofort in eine error.log eingeschrieben wird...
Wie mach ich das? (bitte mit Try anweißung)
also:
try
code
catch ex as ex...
in applicationordner & "\logs\error.log" schreiben
end try
Danke
Razer
Ich will in dem Sub alles per Try und Catch anweißung sichern.
und zwar so, dass wenn ex as Exception gecacht wird, dass dieser Fehler sofort in eine error.log eingeschrieben wird...
Wie mach ich das? (bitte mit Try anweißung)
also:
try
code
catch ex as ex...
in applicationordner & "\logs\error.log" schreiben
end try
Danke
Razer