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