We have a windows application in VB.net which got migrated from VB to VB.Net with migration tool.The application uses third party datawidgets from Sheridan Software.When we do the form closing(the forms using the third party controls) with the close button on title bar , the system throws unhandled exception
Error No#1
-----------------
Unhandled exception has occurred in a component in your application . If you click continue, the paplication will ignore this error and
attempt to continue COM object that has been separated from its underlying RCW cannot be used
Error No#2
----------------
Catastrophic failure (Exception from HRESULT: 0x8000FFFF(E_UNEXPECTED))
Sometimes it is throwing the exception when the user closes the form and open it again.We tried disposing the components in the FormClosed event, it worked in some forms but not in all forms.Can anybody pls advice on a possible working solution for this issue.
Error No#1
-----------------
Unhandled exception has occurred in a component in your application . If you click continue, the paplication will ignore this error and
attempt to continue COM object that has been separated from its underlying RCW cannot be used
Error No#2
----------------
Catastrophic failure (Exception from HRESULT: 0x8000FFFF(E_UNEXPECTED))
Sometimes it is throwing the exception when the user closes the form and open it again.We tried disposing the components in the FormClosed event, it worked in some forms but not in all forms.Can anybody pls advice on a possible working solution for this issue.