a full detailed error:
An unhandled exception of type 'System.NullReferenceException' occurred in
system.windows.forms.dll
Additional information: Object reference not set to an instance of an object.
An unhandled exception of type 'System.NullReferenceException' occurred in
system.windows.forms.dll
Additional information: Object reference not set to an instance of an object.
Unhandled Exception: System.NullReferenceException: Object reference not set
to an instance of an object.
at System.Windows.Forms.IConnectionPoint.Unadvise(Int 32 cookie)
at System.Windows.Forms.ConnectionPointCookie.Disconn ect()
at System.Windows.Forms.ConnectionPointCookie.Finaliz e()An unhandled
exception of type 'System.NullReferenceException' occurred in
system.windows.forms.dll
Additional information: Object reference not set to an instance of an object.
Unhandled Exception: System.NullReferenceException: Object reference not set
to an instance of an object.
at System.Windows.Forms.IConnectionPoint.Unadvise(Int 32 cookie)
at System.Windows.Forms.ConnectionPointCookie.Disconn ect()
at System.Windows.Forms.ConnectionPointCookie.Finaliz e()
Unhandled Exception: System.NullReferenceException: Object reference not set
to an instance of an object.
at System.Windows.Forms.IConnectionPoint.Unadvise(Int 32 cookie)
at System.Windows.Forms.ConnectionPointCookie.Disconn ect()
at System.Windows.Forms.OleInterfaces.StopEvents()
at System.Windows.Forms.OleInterfaces.Finalize()The program '[2708]
Viewer.exe' has exited with code 0 (0x0).
"Raed Sawalha" wrote:
i have a windows form(Main) with listview, when click an item in listview i
open other window form (Sub) which generate the selected item from parent
window in as treeview items when click any item in treeview i display the
content item in axWebBrowser, i close the sub form normally when i close the
main the following error is generated
An unhandled exception of type 'System.NullReferenceException' occurred in
system.windows.forms.dll
Additional information: Object reference not set to an instance of an object.
i tried to trace the closing event in my application there is no exeception,
so im confused what causing this problem?