Pregunta

I have an app in visual studio 2005 sp1, implemented in motorola mc2100 with windows ce 6.0, the application works fine until you close it then gives an error:

Error: vb_scansample2.exe (app name) ObjectDisposedException

at system.windows.forms.control.invokehelper(delegate method, boolean fsynchronous, object[] rgobjargs) at system.windows.forms.control.invokehelper(delegate method, object[] args) at symbol.barcode.ActionsEventFiringThread()

any help?

No hay solución correcta

Otros consejos

The barcode actions object is raising an event. That event is trying to update something in the UI, but the UI is already torn down. Wrap the event handler logic in a try/catch and ignore ObjectDisposedExceptions, or better yet, unhook the event when you're disposing.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top