Unable to get the window handle for the 'AxMSFlexGrid' control
I have this exception:
"Object reference not set to an instance of an object." and the err.Description contains this text: "Unable to get the window handle for the 'AxMSFlexGrid' control. Windowless ActiveX controls are not supported." when I close my application. I use MSFlexGrid in one of my forms inside a User control .vb file in the same project.
The marker points to
Public Class frmTestEditor
I get this exception when closing the application by pressing the X box on the top-right corner. If I use Me.Close it's OK - no errors and
What can be done?
Miroslav St. Jeliaskoff
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL