Error:External component has thrown an exception.

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
 
C

Cor

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top