473,569 Members | 2,466 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

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 .InteropService s.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
6 37783
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
Can you handle the exception and see if there is a Exception.Inner Exception
value (or use Exception.GetBa seException)?
--

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******** ******@tk2msftn gp13.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 .InteropService s.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
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******** ******@TK2MSFTN GP11.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

"Carlos J. Quintero [VB MVP]" <ca*****@NOSPAM sogecable.com> wrote in message
news:ey******** ******@TK2MSFTN GP14.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.Inner Exception > value (or use
Exception.GetB aseException)? 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******** ******@tk2msftn gp13.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 .InteropService s.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

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

value (or use Exception.GetBa seException)?
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******** ******@tk2msftn gp13.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 .InteropService s.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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2376
by: Charles Hixson | last post by:
I'm getting a list that I build which when printed is displaying, well, e.g.: d = << , 'Do', 'not', 'remove', 'thi', '.', ] >> Clearly I have a problem with the truncation of the final this, but what does the internal mean? It's generated by doing: print "d = <<", d, ">>" If it matters, I'm using Python 2.3.4 on Linux.
6
3023
by: wintaki | last post by:
Given int x; What does x evaluate to? If x is 0, it equals 0x31, the ascii value of '1'. So for some reason, x evaluates to *(y+x) where x is a non pointer/array type.
4
4648
by: garyusenet | last post by:
Hi I'm using the following code which is finally working. Public Class Form1 Shared ActElement As Object Shared ActFields As DataSet Public Sub SetActElement() Dim objApp As New Object
1
20657
by: alex14 | last post by:
Hi could someone please tell me what the double colons :: in perl scripts mean and what do they do? kind regards alex
2
4716
by: SMichal | last post by:
Hi, I'm starting from my application simple bat data...test.bat. This file (test.bat) should start another aplication app.exe. I'm starting the test.bat from my application with Start() method of Process class. With proc.WaitForExit I'm waiting for end of the process and I must check the return code of process that I've started...this job...
9
76476
by: plusk1008 | last post by:
I have finals next week and I am stuck on one question on my review sheet for excel. So once again I beg: Please, please, please, please, please, please, please, please, please, please someone help me!! What does ### mean in Excel and how do you fix it??? please,please,please help!! 8( I'm totally stressed over this one question!! You...
2
2226
by: mantrid | last post by:
in some php script ive seen $something==@$somethingelse whereas something==$somethingelse works the same what does the use of the @ do? Sorry if this is a stupid question
1
2081
by: Daniel Brower | last post by:
I found documentation that uses the ^ notation after a type name. What does that notation mean? Daniel
1
3268
by: Monica Pnade | last post by:
what does /^/ mean in perl?
0
7703
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7926
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7678
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7982
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6286
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3656
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2116
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1226
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
944
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.