How to catch "Error creating window handle."

D

DraguVaso

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(CreateParams 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(EventArgs e)

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

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

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

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

at System.Windows.Forms.ContainerControl.OnFontChanged(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.Remove(Control
value)

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

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

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

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

at WeifenLuo.WinFormsUI.DockPane.RemoveContent(DockContent content)

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

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

at WeifenLuo.WinFormsUI.DockContent.set_DockPanel(DockPanel 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.OnMessage(Message& m)

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

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

at System.Windows.Forms.UnsafeNativeMethods.SendMessage(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(DockContent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Message& m)

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

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

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

at System.Windows.Forms.UnsafeNativeMethods.SendMessage(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.OnMessage(Message& m)

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

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

at System.Windows.Forms.UnsafeNativeMethods.SendMessage(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(DockContent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Message& m)

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

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

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

at System.Windows.Forms.UnsafeNativeMethods.SendMessage(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.OnMessage(Message& m)

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

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

at System.Windows.Forms.UnsafeNativeMethods.SendMessage(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(DockContent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Message& m)

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

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

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

at System.Windows.Forms.UnsafeNativeMethods.SendMessage(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.OnMessage(Message& m)

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

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

at System.Windows.Forms.UnsafeNativeMethods.SendMessage(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(DockContent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Message& m)

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

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

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

at System.Windows.Forms.UnsafeNativeMethods.SendMessage(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.OnMessage(Message& m)

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

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

at System.Windows.Forms.UnsafeNativeMethods.SendMessage(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(DockContent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Message& m)

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

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

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

at System.Windows.Forms.UnsafeNativeMethods.SendMessage(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.OnMessage(Message& m)

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

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

at System.Windows.Forms.UnsafeNativeMethods.SendMessage(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(DockContent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Message& m)

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

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

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

at System.Windows.Forms.UnsafeNativeMethods.SendMessage(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.OnMessage(Message& m)

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

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

at System.Windows.Forms.UnsafeNativeMethods.SendMessage(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(DockContent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Message& m)

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

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

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

at System.Windows.Forms.UnsafeNativeMethods.SendMessage(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.OnMessage(Message& m)

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

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

at System.Windows.Forms.UnsafeNativeMethods.SendMessage(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(DockContent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Message& m)

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

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

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

at System.Windows.Forms.UnsafeNativeMethods.SendMessage(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.OnMessage(Message& m)

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

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

at System.Windows.Forms.UnsafeNativeMethods.SendMessage(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(DockContent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Message& m)

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

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

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

at System.Windows.Forms.UnsafeNativeMethods.SendMessage(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.OnMessage(Message& m)

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

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

at System.Windows.Forms.UnsafeNativeMethods.SendMessage(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(DockContent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Message& m)

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

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

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

at System.Windows.Forms.UnsafeNativeMethods.SendMessage(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.OnMessage(Message& m)

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

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

at System.Windows.Forms.UnsafeNativeMethods.SendMessage(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(DockContent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Message& m)

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

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

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

at System.Windows.Forms.UnsafeNativeMethods.SendMessage(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.OnMessage(Message& m)

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

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

at System.Windows.Forms.UnsafeNativeMethods.SendMessage(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(DockContent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Message& m)

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

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

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

at System.Windows.Forms.UnsafeNativeMethods.SendMessage(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.OnMessage(Message& m)

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

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

at System.Windows.Forms.UnsafeNativeMethods.SendMessage(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(DockContent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Message& m)

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

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

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

at System.Windows.Forms.UnsafeNativeMethods.SendMessage(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.OnMessage(Message& m)

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

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

at System.Windows.Forms.UnsafeNativeMethods.SendMessage(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(DockContent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Message& m)

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

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

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

at System.Windows.Forms.UnsafeNativeMethods.SendMessage(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.OnMessage(Message& m)

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

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

at System.Windows.Forms.UnsafeNativeMethods.SendMessage(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(DockContent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Message& m)

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

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

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

at System.Windows.Forms.UnsafeNativeMethods.SendMessage(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.OnMessage(Message& m)

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

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

at System.Windows.Forms.UnsafeNativeMethods.SendMessage(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(DockContent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Message& m)

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

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

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

at System.Windows.Forms.UnsafeNativeMethods.SendMessage(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.OnMessage(Message& m)

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

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

at System.Windows.Forms.UnsafeNativeMethods.SendMessage(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(DockContent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Message& m)

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

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

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

at System.Windows.Forms.UnsafeNativeMethods.SendMessage(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.OnMessage(Message& m)

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

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

at System.Windows.Forms.UnsafeNativeMethods.SendMessage(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(DockContent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Message& m)

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

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

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

at System.Windows.Forms.UnsafeNativeMethods.SendMessage(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.OnMessage(Message& m)

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

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

at System.Windows.Forms.UnsafeNativeMethods.SendMessage(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(DockContent content)

at WeifenLuo.WinFormsUI.HiddenMdiChild.WndProc(Message& m)

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

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

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

at System.Windows.Forms.UnsafeNativeMethods.SendMessage(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.OnMessage(Message& m)

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

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

at System.Windows.Forms.UnsafeNativeMethods.SendMessage(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(DockContent content)

at WeifenLuo.WinFormsUI.DockPane.CloseActiveContent()

at WeifenLuo.WinFormsUI.DockPaneStripVS2003.Close_Click(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.OnMessage(Message& m)

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

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

at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&
msg)

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

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

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

at System.Windows.Forms.Application.Run(ApplicationContext context)

at
Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()

at
Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()

at
Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.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.RunUsersAssembly()

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

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

at System.Threading.ThreadHelper.ThreadStart()
 
D

DraguVaso

Thanks. But this works only when using the executable file. When running the
solution from Visual Studio it doesn't work :-/
 
J

Joseph Ferris

Kevin said:

Not to hijack the original posters thread, but I have a question about
the UnhandledExceptionEventHandler. Its documented usages in VB.Net
are pretty slim. I've been able to figure out the declaration:

Public Delegate Sub UnhandledExceptionEventHandler(ByVal sender As
Object, ByVal e As UnhandledExceptionEventArgs)

Let's assume that I have a desktop application that originates from Sub
Main in a module. Where should I place the delegate - should it go in
the module where Sub Main lives?

Thanks in advance,

Joseph
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top