Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unhandled exception

Status
Not open for further replies.

born2program

Technical User
Sep 18, 2006
85
US

When I close the main form in my application I get the following message and I don't know why I get this:
Code:
"An unhandled exception of type 'System.InvalidCastException'occurred in system.windows.form.dll.    Additional Information: QueryInterface for interface IConnectionPoint failed."

and this is my call stack

Code:
system.windows.forms.dll!System.Windows.Forms.AxHost.ConnectionPointCookie.Disconnect() + 0x25 bytes	
 	system.windows.forms.dll!System.Windows.Forms.AxHost.ConnectionPointCookie.Finalize() + 0x1c bytes

any help would be greatly appreciated. Thanks in advance.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top