Book now with code EOY2025
RobertKaucher wrote: » Why don't you just handle the exception? Just catch that specific exception but do nothing as it is a known issue and your event source is not related to the security log.
exampasser wrote: » Good idea, I tried it but so far catching the exception just surprises the message and the event source is not registered but I might be doing something wrong as I haven't done exception catching in a while *Grabs VB handbook
exampasser wrote: » Here is a portion of the code (it's a test application for experimenting with writing to the event log, I just did a general catch all exception): If Not EventLog.SourceExists("testapp") Then EventLog.CreateEventSource("testapp", "Application") End If Catch End Try
RobertKaucher wrote: » How has this turned out? Any update? I'd like to see what you've got...
Use code EOY2025 to receive $250 off your 2025 certification boot camp!