blackduck603
Member
I am getting the following Exception when calling MyBase.Dispose ()
ObjectDisposedException was unhandled.
I tried adding a Try Catch around the call but it doesn't catch the exception.
Any ideas?
Thanks,
Bill
ObjectDisposedException was unhandled.
I tried adding a Try Catch around the call but it doesn't catch the exception.
VB.NET:
Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing Then
If Not (components Is Nothing) Then
components.Dispose()
End If
End If
Try ' NEW - TEST - CATCH EXCEPTION ON EXIT
MyBase.Dispose(disposing)
Catch ex As Exception
MessageBox.Show(ex.GetType().FullName & " -" & ex.Message & " - " & ex.StackTrace, "CACMS", MessageBoxButtons.OK, MessageBoxIcon.Hand)
End Try
End Sub
FYI: The value of disposing is False
Any ideas?
Thanks,
Bill