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

D

**Developer**

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
 
C

Carlos J. Quintero [VB MVP]

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
 

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