My Application is C# winform
I am facing below error at the time of form close and end of Dispose() method .
Please help me how to avoid / catch this error .
Thanks .
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Sivaraman DhamodaranRank #40 · 34.5K reputationPosted Dec 26, 2012, 2:29 AM EST
umesh chape25 reputationPosted Dec 26, 2012, 2:59 AM EST
Yes. I closed everything from the form .
I am using some third party API . The previous API are working fine but these new updates and facing Issue .
If old API are installed on the system previously then I am not facing this issue but If I installed directly new API then I am facing the Issue .
Please help me how to avoid / catch this error .
VulpesRank #55 · 29.2K reputationPosted Dec 26, 2012, 7:02 AM EST
I'd contact the vendor to see if there's a patch or workaround for what is likely to be a bug in the API. If there isn't one, I'd go back to using the previous version.
umesh chape25 reputationPosted Dec 26, 2012, 7:23 AM EST
You mean to say There is No Solution for this error .
umesh chape25 reputationPosted Dec 26, 2012, 7:33 AM EST
VulpesRank #55 · 29.2K reputationPosted Dec 26, 2012, 9:09 AM EST
umesh chape25 reputationPosted Dec 26, 2012, 7:43 PM EST
Already called Application.Exit().
VulpesRank #55 · 29.2K reputationPosted Dec 28, 2012, 1:17 AM EST
If it's still no better, then Environment.Exit(0) will kill the process stone dead though I'd only use that as a last resource.
umesh chape25 reputationPosted Dec 28, 2012, 2:42 AM EST
Still hoping for solution.
Please help .