Error:External component has thrown an exception.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

My project has several winforms. There is an button BtnDisplay in the startup form MainFrm
By clicking BtnDisplay, a new form SecondFrm will display using statements as

Dim SecondFrm as new Form
SecondFrm.ShowDialog(

I also put a BtnBack on SecondFrm. After clicking BtnBack, the SecondFrm is supposed to close and the MainFrm should display. However, after I clicked the BtnBack, the SecondFrm is closed as I expected and MainFrm appears. However, the application stops and I got the error message:

An unhandled exception of type 'System.Runtime.InteropServices.SEHException' occurred in system.windows.forms.dl
Additional information: External component has thrown an exception

Can you help figure it out
 
Hi Alison,

It seems that something as SEH gives an exception.

It is hard to see what that is with this amount of information and if it is
not a dotNet component probably not to be answered in this newsgroup.

But you never know I have often seen people answering on it when it was
something special while I had not expect that.

So give some information about it?.

Cor
 
Back
Top