VB Code:
Public Sub DisplayError(strRoutine As String)
'***************************************************************************
'Purpose: Common error display routine
'Inputs: strRoutine - The name of the routine where the error occurred
'Outputs: None
'***************************************************************************
MsgBox ResolveResString(resDisplayError, _
"|1", str$(Err.Number), _
"|2", Err.Source, _
"|3", strRoutine & "." & vbCrLf & vbCrLf, _
"|4", Err.Description), vbExclamation, , Err.HelpFile, Err.HelpContext
End Sub