By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,135 Members | 1,135 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,135 IT Pros & Developers. It's quick & easy.

What does this mean: External component has thrown an exception.

P: n/a
What does this mean:

External component has thrown an exception.

My program crashes after it leaves a subroutine.

What I see during debugging is

when I press F11 at the End Sub statement

I get the following error message in a dialog box:

An unhandled exception of type 'System.Runtime.InteropServices.SEHException'
occurred in system.windows.forms.dll

Additional information: External component has thrown an exception.

and

Application.Run(New Formzz) is highlighted
Nov 21 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a
Developer,

You can be lucky however probably is at least needed what external
component, and where you use that as a piece of code to help you.

Cor
Nov 21 '05 #2

P: n/a
Can you handle the exception and see if there is a Exception.InnerException
value (or use Exception.GetBaseException)?
--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com

" **Developer**" <RE*************@a-znet.com> escribió en el mensaje
news:uu**************@tk2msftngp13.phx.gbl...
What does this mean:

External component has thrown an exception.

My program crashes after it leaves a subroutine.

What I see during debugging is

when I press F11 at the End Sub statement

I get the following error message in a dialog box:

An unhandled exception of type
'System.Runtime.InteropServices.SEHException' occurred in
system.windows.forms.dll

Additional information: External component has thrown an exception.

and

Application.Run(New Formzz) is highlighted

Nov 21 '05 #3

P: n/a
What does "External Component" mean.
Is that one of my UserControls that is dying when the form is closing?

Thanks
"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:uU**************@TK2MSFTNGP11.phx.gbl...
Developer,

You can be lucky however probably is at least needed what external
component, and where you use that as a piece of code to help you.

Cor

Nov 21 '05 #4

P: n/a

"Carlos J. Quintero [VB MVP]" <ca*****@NOSPAMsogecable.com> wrote in message
news:ey**************@TK2MSFTNGP14.phx.gbl...
Can you handle the exception How? I'll try putting TRY about the entire sub and about
Application.Run.

I'm at a lose because I don't know what it means by "External component"
Is that external to the framework? Does it mean one of my UserControls?
and see if there is a Exception.InnerException > value (or use
Exception.GetBaseException)? I'll need to read about the two nethods you mention.

Thanks
--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com

" **Developer**" <RE*************@a-znet.com> escribió en el mensaje
news:uu**************@tk2msftngp13.phx.gbl...
What does this mean:

External component has thrown an exception.

My program crashes after it leaves a subroutine.

What I see during debugging is

when I press F11 at the End Sub statement

I get the following error message in a dialog box:

An unhandled exception of type
'System.Runtime.InteropServices.SEHException' occurred in
system.windows.forms.dll

Additional information: External component has thrown an exception.

and

Application.Run(New Formzz) is highlighted


Nov 21 '05 #5

P: n/a

"Carlos J. Quintero [VB MVP]" <ca*****@NOSPAMsogecable.com> wrote in message
news:ey**************@TK2MSFTNGP14.phx.gbl...
Can you handle the exception and see if there is a
Exception.InnerException Exception.InnerException is Nothing

value (or use Exception.GetBaseException)?
This is:
External component has thrown an exception.
Thanks

Any suggestions as to what to try next?

What could "External component" mean?

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com

" **Developer**" <RE*************@a-znet.com> escribió en el mensaje
news:uu**************@tk2msftngp13.phx.gbl...
What does this mean:

External component has thrown an exception.

My program crashes after it leaves a subroutine.

What I see during debugging is

when I press F11 at the End Sub statement

I get the following error message in a dialog box:

An unhandled exception of type
'System.Runtime.InteropServices.SEHException' occurred in
system.windows.forms.dll

Additional information: External component has thrown an exception.

and

Application.Run(New Formzz) is highlighted


Nov 21 '05 #6

P: n/a
Developer,

I assume that you don't have a program that only uses Microsoft controls.

SEHE, however I never heard of that exept in the German language for I saw,
and therefore it gives a lot of hits on Google..

Cor
Nov 21 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.