Hello all,
I use code like this for error handling and logging.
Exception e as RuntimeException
Dim Log As New clsLogging
Dim Flds() As String = array("EXCEPTION", "frmRemotes.grdRemoteStatus.DoubleClick ", Cstr( e.Type) )
Log.AddFields Flds
Log.LogFileAppend( Log.K_Except_App_Err)
Instead of having to type in each object things like this "frmRemotes.grdRemoteStatus.DoubleClick " how can I do this automagically?
Thanks!
Tim