471,344 Members | 992 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,344 software developers and data experts.

System.Runtime.InteropServices.SEHException

Hello,

i know that this is a bug of the .net framework, when you activate the
VisualStyles, so i deactivate this features.
But i get sometimes this exception when i call <Form>.ShowDialog (not
allways from the same form)
This also occures sometimes in the forms initialization when the form tries
to load an object (image or icon) from the ressources.

Message: System.Runtime.InteropServices.SEHException: Eine externe
Komponente hat eine Ausnahme ausgelöst.
at System.Reflection.Assembly.nGetSimpleName()
at System.Reflection.Assembly.GetName(Boolean copiedName)
at System.Reflection.Assembly.GetName()
at System.Windows.Forms.ThreadExceptionDialog..ctor(E xception t)
at System.Windows.Forms.ThreadExceptionDialog..ctor(E xception t)
at System.Windows.Forms.ThreadContext.OnThreadExcepti on(Exception t)
at System.Windows.Forms.Control.WndProcException(Exce ption e)
at System.Windows.Forms.ControlNativeWindow.OnThreadE xception(Exception e)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchM essageW(MSG& msg)
at
System.Windows.Forms.ComponentManager.System.Windo ws.Forms.UnsafeNativeMethods+IMsoComponentManager. FPushMessageLoop(Int32
dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.ThreadContext.RunMessageLoopI nner(Int32 reason,
ApplicationContext context)
at System.Windows.Forms.ThreadContext.RunMessageLoop( Int32 reason,
ApplicationContext context)
at System.Windows.Forms.Application.RunDialog(Form form)
at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at CRM.frmKA.btnGeraet_Click(Object sender, EventArgs e) in
C:\dotnet\miele\CRM\KA\frmKA.vb:line 2237

regards Robert
ro*********@miele.at
Jul 21 '05 #1
0 2527

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Vitling | last post: by
5 posts views Thread by Indrani | last post: by
8 posts views Thread by marcmc | last post: by
reply views Thread by Robert Mayr | last post: by
reply views Thread by =?Utf-8?B?VGhvbWFzIFR1dGtv?= | last post: by

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.