I'm sorry, I meant End Sub.
My program crashes after it leaves an event handler.
It is an event raised by a ComboBox.
So the stack contains only the handler and Main before the End Sub is
executed.
What I see during debugging is:
When I press F11 at the End Sub statement
In Main I catch the following exception:
An unhandled exception of type 'System.Runtime.InteropServices.SEHException'
occurred in system.windows.forms.dll
Additional information: External component has thrown an exception.
1. What could possibly happen as End Sub is executing that causes the
exception?
2. What does External component mean. Is the ComboBox an External component?
3.Is InteropServices.SEHException' a clue? Or is that the typical exception
Thanks
"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:et**************@TK2MSFTNGP12.phx.gbl...
Developer,
There should be nothing happening after the *end*. *End* means killing the
program, a statement you normally should not use however maybe there
happens outside your program something because of that killing.
Cor