473,401 Members | 2,127 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

How to catch "Error creating window handle."

Hi,

In my application, on some given actions while debugging in Visual Studio, I
suddenly get a "System.ComponentModel.Win32Exception was unhandled"
Message="Error creating window handle." exception.

The problem is that this exception isn't raised somewhere in a method, so it
just shows up, and it causes the application to shut down.

Is there anyway how to catch this kinds of exceptions? Can I put somewhere a
general exception handler that will catch this kind of exceptions in my
application?

Thanks a lot in advance, any help our hints will be really appreciated!

Pieter
For those who would like some more info: I'm using Visual Studio 2.0 Beta 2,
VB.NET, and it happens while closing a Dockcontent of the WeifenLuo
DockPanel Suite).

This is the whole exception:

System.ComponentModel.Win32Exception was unhandled
Message="Error creating window handle."
Source="System.Windows.Forms"
ErrorCode=-2147467259
NativeErrorCode=0
StackTrace:
at System.Windows.Forms.NativeWindow.CreateHandle(Cre ateParams cp)

at System.Windows.Forms.Control.CreateHandle()

at System.Windows.Forms.Control.RecreateHandleCore()

at System.Windows.Forms.ComboBox.RecreateHandleCore()

at System.Windows.Forms.ComboBox.OnFontChanged(EventA rgs e)

at System.Windows.Forms.Control.OnParentFontChanged(E ventArgs e)

at System.Windows.Forms.Control.OnFontChanged(EventAr gs e)

at System.Windows.Forms.Control.OnParentFontChanged(E ventArgs e)

at System.Windows.Forms.Control.OnFontChanged(EventAr gs e)

at System.Windows.Forms.ContainerControl.OnFontChange d(EventArgs e)

at System.Windows.Forms.Form.OnFontChanged(EventArgs e)

at System.Windows.Forms.Control.AssignParent(Control value)

at System.Windows.Forms.Form.AssignParent(Control value)

at System.Windows.Forms.Control.ControlCollection.Rem ove(Control
value)

at System.Windows.Forms.Control.set_ParentInternal(Co ntrol value)

at System.Windows.Forms.Form.set_ParentInternal(Contr ol value)

at System.Windows.Forms.Control.set_Parent(Control value)

at WeifenLuo.WinFormsUI.DockContent.SetParent(Control value)

at WeifenLuo.WinFormsUI.DockPane.RemoveContent(DockCo ntent content)

at WeifenLuo.WinFormsUI.DockContent.set_PanelPane(Doc kPane value)

at WeifenLuo.WinFormsUI.DockContent.set_Pane(DockPane value)

at WeifenLuo.WinFormsUI.DockContent.set_DockPanel(Doc kPanel value)

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.DockPane.CloseActiveContent()

at WeifenLuo.WinFormsUI.DockPaneStripVS2003.Close_Cli ck(Object
sender, EventArgs e)

at System.Windows.Forms.Control.OnClick(EventArgs e)

at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons
button, Int32 clicks)

at System.Windows.Forms.Control.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.DispatchM essageW(MSG&
msg)

at
System.Windows.Forms.Application.ComponentManager. System.Windows.Forms.UnsafeNativeMethods.IMsoCompo nentManager.FPushMessageLoop(Int32
dwComponentID, Int32 reason, Int32 pvLoopData)

at
System.Windows.Forms.Application.ThreadContext.Run MessageLoopInner(Int32
reason, ApplicationContext context)

at
System.Windows.Forms.Application.ThreadContext.Run MessageLoop(Int32 reason,
ApplicationContext context)

at System.Windows.Forms.Application.Run(ApplicationCo ntext context)

at
Microsoft.VisualBasic.ApplicationServices.WindowsF ormsApplicationBase.OnRun()

at
Microsoft.VisualBasic.ApplicationServices.WindowsF ormsApplicationBase.DoApplicationModel()

at
Microsoft.VisualBasic.ApplicationServices.WindowsF ormsApplicationBase.Run(String[]
commandLine)

at Ghost.My.MyApplication.Main(String[] Args) in
17d14f5c-a337-4978-8281-53493378c1071.vb:line 76

at System.AppDomain.nExecuteAssembly(Assembly assembly, String[]
args)

at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence
assemblySecurity, String[] args)

at Microsoft.VisualStudio.HostingProcess.HostProc.Run UsersAssembly()

at System.Threading.ThreadHelper.ThreadStart_Context( Object state)

at System.Threading.ExecutionContext.Run(ExecutionCon text
executionContext, ContextCallback callback, Object state)

at System.Threading.ThreadHelper.ThreadStart()

Oct 12 '05 #1
6 3216
If you just write a handler for the general Exception class, this exception
will be caught, then you can take proper corrective action.

----------------
-Atul, Sky Software http://www.ssware.com
Shell MegaPack For .Net & ActiveX :
Windows Explorer GUI Controls
&
Quick-Launch Like Appbars, MSN/Office2003 Style Popups,
System Tray Icons and Shortcuts/Internet Shortcuts
----------------

"DraguVaso" <pi**********@hotmail.com> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl...
Hi,

In my application, on some given actions while debugging in Visual Studio,
I suddenly get a "System.ComponentModel.Win32Exception was unhandled"
Message="Error creating window handle." exception.

The problem is that this exception isn't raised somewhere in a method, so
it just shows up, and it causes the application to shut down.

Is there anyway how to catch this kinds of exceptions? Can I put somewhere
a general exception handler that will catch this kind of exceptions in my
application?

Thanks a lot in advance, any help our hints will be really appreciated!

Pieter
For those who would like some more info: I'm using Visual Studio 2.0 Beta
2, VB.NET, and it happens while closing a Dockcontent of the WeifenLuo
DockPanel Suite).

This is the whole exception:

System.ComponentModel.Win32Exception was unhandled
Message="Error creating window handle."
Source="System.Windows.Forms"
ErrorCode=-2147467259
NativeErrorCode=0
StackTrace:
at System.Windows.Forms.NativeWindow.CreateHandle(Cre ateParams cp)

at System.Windows.Forms.Control.CreateHandle()

at System.Windows.Forms.Control.RecreateHandleCore()

at System.Windows.Forms.ComboBox.RecreateHandleCore()

at System.Windows.Forms.ComboBox.OnFontChanged(EventA rgs e)

at System.Windows.Forms.Control.OnParentFontChanged(E ventArgs e)

at System.Windows.Forms.Control.OnFontChanged(EventAr gs e)

at System.Windows.Forms.Control.OnParentFontChanged(E ventArgs e)

at System.Windows.Forms.Control.OnFontChanged(EventAr gs e)

at System.Windows.Forms.ContainerControl.OnFontChange d(EventArgs e)

at System.Windows.Forms.Form.OnFontChanged(EventArgs e)

at System.Windows.Forms.Control.AssignParent(Control value)

at System.Windows.Forms.Form.AssignParent(Control value)

at System.Windows.Forms.Control.ControlCollection.Rem ove(Control
value)

at System.Windows.Forms.Control.set_ParentInternal(Co ntrol value)

at System.Windows.Forms.Form.set_ParentInternal(Contr ol value)

at System.Windows.Forms.Control.set_Parent(Control value)

at WeifenLuo.WinFormsUI.DockContent.SetParent(Control value)

at WeifenLuo.WinFormsUI.DockPane.RemoveContent(DockCo ntent content)

at WeifenLuo.WinFormsUI.DockContent.set_PanelPane(Doc kPane value)

at WeifenLuo.WinFormsUI.DockContent.set_Pane(DockPane value)

at WeifenLuo.WinFormsUI.DockContent.set_DockPanel(Doc kPanel value)

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.DockPane.CloseActiveContent()

at WeifenLuo.WinFormsUI.DockPaneStripVS2003.Close_Cli ck(Object
sender, EventArgs e)

at System.Windows.Forms.Control.OnClick(EventArgs e)

at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons
button, Int32 clicks)

at System.Windows.Forms.Control.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.DispatchM essageW(MSG&
msg)

at
System.Windows.Forms.Application.ComponentManager. System.Windows.Forms.UnsafeNativeMethods.IMsoCompo nentManager.FPushMessageLoop(Int32
dwComponentID, Int32 reason, Int32 pvLoopData)

at
System.Windows.Forms.Application.ThreadContext.Run MessageLoopInner(Int32
reason, ApplicationContext context)

at
System.Windows.Forms.Application.ThreadContext.Run MessageLoop(Int32
reason, ApplicationContext context)

at System.Windows.Forms.Application.Run(ApplicationCo ntext context)

at
Microsoft.VisualBasic.ApplicationServices.WindowsF ormsApplicationBase.OnRun()

at
Microsoft.VisualBasic.ApplicationServices.WindowsF ormsApplicationBase.DoApplicationModel()

at
Microsoft.VisualBasic.ApplicationServices.WindowsF ormsApplicationBase.Run(String[]
commandLine)

at Ghost.My.MyApplication.Main(String[] Args) in
17d14f5c-a337-4978-8281-53493378c1071.vb:line 76

at System.AppDomain.nExecuteAssembly(Assembly assembly, String[]
args)

at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence
assemblySecurity, String[] args)

at Microsoft.VisualStudio.HostingProcess.HostProc.Run UsersAssembly()

at System.Threading.ThreadHelper.ThreadStart_Context( Object state)

at System.Threading.ExecutionContext.Run(ExecutionCon text
executionContext, ContextCallback callback, Object state)

at System.Threading.ThreadHelper.ThreadStart()

Oct 12 '05 #2
In Q324653 (http://support.microsoft.com/?id=324653) you'll find some code to
write an exception handler...

Maybe you could inherit from the Dockcontent control and override the Close
(or something like that) and put a try catch around MyBase.Close.
Kind regards

Oct 12 '05 #3
Thanks. But this works only when using the executable file. When running the
solution from Visual Studio it doesn't work :-/

"kHSw" <khsw.be(at)gmail.com> wrote in message
news:47**********************************@microsof t.com...
In Q324653 (http://support.microsoft.com/?id=324653) you'll find some code
to
write an exception handler...

Maybe you could inherit from the Dockcontent control and override the
Close
(or something like that) and put a try catch around MyBase.Close.
Kind regards

Oct 12 '05 #4
Then you probably should go for inheritance...

--
http://www.khsw-be.net
"DraguVaso" wrote:
Thanks. But this works only when using the executable file. When running the
solution from Visual Studio it doesn't work :-/

"kHSw" <khsw.be(at)gmail.com> wrote in message
news:47**********************************@microsof t.com...
In Q324653 (http://support.microsoft.com/?id=324653) you'll find some code
to
write an exception handler...

Maybe you could inherit from the Dockcontent control and override the
Close
(or something like that) and put a try catch around MyBase.Close.
Kind regards


Oct 12 '05 #5
Hi,

Are you overriding wndproc and not calling mybase.wndproc(m).
You will get that error if you are not.

Protected Overrides Sub WndProc(ByRef m As System.Windows.Forms.Message)
Const WM_DRAWCLIPBOARD As Integer = &H308

If m.Msg = WM_DRAWCLIPBOARD Then
RaiseEvent DataRecieved()
End If

MyBase.WndProc(m)
End Sub

Ken

------------------------------

"DraguVaso" <pi**********@hotmail.com> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl...
Hi,

In my application, on some given actions while debugging in Visual Studio,
I suddenly get a "System.ComponentModel.Win32Exception was unhandled"
Message="Error creating window handle." exception.

The problem is that this exception isn't raised somewhere in a method, so
it just shows up, and it causes the application to shut down.

Is there anyway how to catch this kinds of exceptions? Can I put somewhere
a general exception handler that will catch this kind of exceptions in my
application?

Thanks a lot in advance, any help our hints will be really appreciated!

Pieter
For those who would like some more info: I'm using Visual Studio 2.0 Beta
2, VB.NET, and it happens while closing a Dockcontent of the WeifenLuo
DockPanel Suite).

This is the whole exception:

System.ComponentModel.Win32Exception was unhandled
Message="Error creating window handle."
Source="System.Windows.Forms"
ErrorCode=-2147467259
NativeErrorCode=0
StackTrace:
at System.Windows.Forms.NativeWindow.CreateHandle(Cre ateParams cp)

at System.Windows.Forms.Control.CreateHandle()

at System.Windows.Forms.Control.RecreateHandleCore()

at System.Windows.Forms.ComboBox.RecreateHandleCore()

at System.Windows.Forms.ComboBox.OnFontChanged(EventA rgs e)

at System.Windows.Forms.Control.OnParentFontChanged(E ventArgs e)

at System.Windows.Forms.Control.OnFontChanged(EventAr gs e)

at System.Windows.Forms.Control.OnParentFontChanged(E ventArgs e)

at System.Windows.Forms.Control.OnFontChanged(EventAr gs e)

at System.Windows.Forms.ContainerControl.OnFontChange d(EventArgs e)

at System.Windows.Forms.Form.OnFontChanged(EventArgs e)

at System.Windows.Forms.Control.AssignParent(Control value)

at System.Windows.Forms.Form.AssignParent(Control value)

at System.Windows.Forms.Control.ControlCollection.Rem ove(Control
value)

at System.Windows.Forms.Control.set_ParentInternal(Co ntrol value)

at System.Windows.Forms.Form.set_ParentInternal(Contr ol value)

at System.Windows.Forms.Control.set_Parent(Control value)

at WeifenLuo.WinFormsUI.DockContent.SetParent(Control value)

at WeifenLuo.WinFormsUI.DockPane.RemoveContent(DockCo ntent content)

at WeifenLuo.WinFormsUI.DockContent.set_PanelPane(Doc kPane value)

at WeifenLuo.WinFormsUI.DockContent.set_Pane(DockPane value)

at WeifenLuo.WinFormsUI.DockContent.set_DockPanel(Doc kPanel value)

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.DockPane.CloseActiveContent()

at WeifenLuo.WinFormsUI.DockPaneStripVS2003.Close_Cli ck(Object
sender, EventArgs e)

at System.Windows.Forms.Control.OnClick(EventArgs e)

at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons
button, Int32 clicks)

at System.Windows.Forms.Control.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.DispatchM essageW(MSG&
msg)

at
System.Windows.Forms.Application.ComponentManager. System.Windows.Forms.UnsafeNativeMethods.IMsoCompo nentManager.FPushMessageLoop(Int32
dwComponentID, Int32 reason, Int32 pvLoopData)

at
System.Windows.Forms.Application.ThreadContext.Run MessageLoopInner(Int32
reason, ApplicationContext context)

at
System.Windows.Forms.Application.ThreadContext.Run MessageLoop(Int32
reason, ApplicationContext context)

at System.Windows.Forms.Application.Run(ApplicationCo ntext context)

at
Microsoft.VisualBasic.ApplicationServices.WindowsF ormsApplicationBase.OnRun()

at
Microsoft.VisualBasic.ApplicationServices.WindowsF ormsApplicationBase.DoApplicationModel()

at
Microsoft.VisualBasic.ApplicationServices.WindowsF ormsApplicationBase.Run(String[]
commandLine)

at Ghost.My.MyApplication.Main(String[] Args) in
17d14f5c-a337-4978-8281-53493378c1071.vb:line 76

at System.AppDomain.nExecuteAssembly(Assembly assembly, String[]
args)

at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence
assemblySecurity, String[] args)

at Microsoft.VisualStudio.HostingProcess.HostProc.Run UsersAssembly()

at System.Threading.ThreadHelper.ThreadStart_Context( Object state)

at System.Threading.ExecutionContext.Run(ExecutionCon text
executionContext, ContextCallback callback, Object state)

at System.Threading.ThreadHelper.ThreadStart()

Oct 12 '05 #6
Not a problem.

Investigate the UnhandledExceptionEventHandler. Start here:

http://msdn.microsoft.com/library/de...ceptdotnet.asp

....and watch that cross-posting!

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.

"DraguVaso" <pi**********@hotmail.com> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl...
Hi,

In my application, on some given actions while debugging in Visual Studio,
I suddenly get a "System.ComponentModel.Win32Exception was unhandled"
Message="Error creating window handle." exception.

The problem is that this exception isn't raised somewhere in a method, so
it just shows up, and it causes the application to shut down.

Is there anyway how to catch this kinds of exceptions? Can I put somewhere
a general exception handler that will catch this kind of exceptions in my
application?

Thanks a lot in advance, any help our hints will be really appreciated!

Pieter
For those who would like some more info: I'm using Visual Studio 2.0 Beta
2, VB.NET, and it happens while closing a Dockcontent of the WeifenLuo
DockPanel Suite).

This is the whole exception:

System.ComponentModel.Win32Exception was unhandled
Message="Error creating window handle."
Source="System.Windows.Forms"
ErrorCode=-2147467259
NativeErrorCode=0
StackTrace:
at System.Windows.Forms.NativeWindow.CreateHandle(Cre ateParams cp)

at System.Windows.Forms.Control.CreateHandle()

at System.Windows.Forms.Control.RecreateHandleCore()

at System.Windows.Forms.ComboBox.RecreateHandleCore()

at System.Windows.Forms.ComboBox.OnFontChanged(EventA rgs e)

at System.Windows.Forms.Control.OnParentFontChanged(E ventArgs e)

at System.Windows.Forms.Control.OnFontChanged(EventAr gs e)

at System.Windows.Forms.Control.OnParentFontChanged(E ventArgs e)

at System.Windows.Forms.Control.OnFontChanged(EventAr gs e)

at System.Windows.Forms.ContainerControl.OnFontChange d(EventArgs e)

at System.Windows.Forms.Form.OnFontChanged(EventArgs e)

at System.Windows.Forms.Control.AssignParent(Control value)

at System.Windows.Forms.Form.AssignParent(Control value)

at System.Windows.Forms.Control.ControlCollection.Rem ove(Control
value)

at System.Windows.Forms.Control.set_ParentInternal(Co ntrol value)

at System.Windows.Forms.Form.set_ParentInternal(Contr ol value)

at System.Windows.Forms.Control.set_Parent(Control value)

at WeifenLuo.WinFormsUI.DockContent.SetParent(Control value)

at WeifenLuo.WinFormsUI.DockPane.RemoveContent(DockCo ntent content)

at WeifenLuo.WinFormsUI.DockContent.set_PanelPane(Doc kPane value)

at WeifenLuo.WinFormsUI.DockContent.set_Pane(DockPane value)

at WeifenLuo.WinFormsUI.DockContent.set_DockPanel(Doc kPanel value)

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Messag e& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockContent.Dispose(Boolean disposing)

at Ghost.frmBaseForm.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmBaseForm.Designer.vb:line 11

at Ghost.frmEntreprises.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmEntreprises.Designer.vb:line 11

at Ghost.frmFournisseurs.Dispose(Boolean disposing) in D:\NET
Projecten\Code Source Sodimex -
Ghost\Sodimex\GUI\frmFournisseurs.Designer.vb:line 11

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Form.WmClose(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SendMessa ge(HandleRef
hWnd, Int32 msg, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam,
Int32 lparam)

at System.Windows.Forms.Form.Close()

at WeifenLuo.WinFormsUI.DockPane.CloseContent(DockCon tent content)

at WeifenLuo.WinFormsUI.DockPane.CloseActiveContent()

at WeifenLuo.WinFormsUI.DockPaneStripVS2003.Close_Cli ck(Object
sender, EventArgs e)

at System.Windows.Forms.Control.OnClick(EventArgs e)

at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons
button, Int32 clicks)

at System.Windows.Forms.Control.WndProc(Message& m)

at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)

at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.DispatchM essageW(MSG&
msg)

at
System.Windows.Forms.Application.ComponentManager. System.Windows.Forms.UnsafeNativeMethods.IMsoCompo nentManager.FPushMessageLoop(Int32
dwComponentID, Int32 reason, Int32 pvLoopData)

at
System.Windows.Forms.Application.ThreadContext.Run MessageLoopInner(Int32
reason, ApplicationContext context)

at
System.Windows.Forms.Application.ThreadContext.Run MessageLoop(Int32
reason, ApplicationContext context)

at System.Windows.Forms.Application.Run(ApplicationCo ntext context)

at
Microsoft.VisualBasic.ApplicationServices.WindowsF ormsApplicationBase.OnRun()

at
Microsoft.VisualBasic.ApplicationServices.WindowsF ormsApplicationBase.DoApplicationModel()

at
Microsoft.VisualBasic.ApplicationServices.WindowsF ormsApplicationBase.Run(String[]
commandLine)

at Ghost.My.MyApplication.Main(String[] Args) in
17d14f5c-a337-4978-8281-53493378c1071.vb:line 76

at System.AppDomain.nExecuteAssembly(Assembly assembly, String[]
args)

at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence
assemblySecurity, String[] args)

at Microsoft.VisualStudio.HostingProcess.HostProc.Run UsersAssembly()

at System.Threading.ThreadHelper.ThreadStart_Context( Object state)

at System.Threading.ExecutionContext.Run(ExecutionCon text
executionContext, ContextCallback callback, Object state)

at System.Threading.ThreadHelper.ThreadStart()

Oct 12 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Anand Pillai | last post by:
Hi I am quite familiar with normal python errors which can be caught by using the try... except... finally clause. But very often I find other kinds of exceptions raised in my programs. Here...
1
by: viditm | last post by:
Hi I keep getting the error "Error Creating Windows Handle" in my application and different places in the code. This occurs only to certain users. Its very random and cannot be reproduced in the...
0
by: Arne Styve | last post by:
Hi, I am developing a small application in C# where I call a C API. This application is to control some videocards from DataPath. After installing the graphichs card and the videoswitch cards...
1
by: Arne | last post by:
Hi, I keep getting "Error creating window handle." now and then while running my C# application. I've tried to figure out why, but I'm stuck. What is the usual cause of this error ? The error...
20
by: DraguVaso | last post by:
Hi, As a former VB-programmer I'm used to the "on error goto"-errorhandling. I see that in actually all the VB.NET-samples I can fin people use the "Try - catch"-errorhandling. Which of the...
8
by: CarpetMnuncher! | last post by:
================================================================= How do I use Try Catch error handling when a timer is involved? If I preform the preciduer below and I get an error I revive...
7
by: DraguVaso | last post by:
Hi, In my application, on some given actions while debugging in Visual Studio, I suddenly get a "System.ComponentModel.Win32Exception was unhandled" Message="Error creating window handle."...
1
by: Flack | last post by:
Hey guys, Here is whats happening. I have a StringBuilder, a TextBox, and a TabControl with one TabPage. On my main form, I created and displayed a fairly big maze. While the app is solving...
2
by: rvarshney | last post by:
Hi All, Sometimes my application crashes with the exception Exception type: System.ComponentModel.Win32Exception Message: Error creating window handle. My Question to you guys are: 1. I am...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.