desmondtan Posted December 27, 2002 Posted December 27, 2002 I received an error - "The following exception has occured: InvalidOperationException: Cannot call Invoke or InvokeAsync on a control until the window handle has been created." The errors seems only appeared after I closed the runtime program and when I closed VS.NET . I suspected that this is data grid and tab control problem . Thedatagrid is located in tabcontrol . Any help is appreciated. Thank you very much. Inappropriate post? If so, Red Flag it! Quote
*Gurus* divil Posted December 28, 2002 *Gurus* Posted December 28, 2002 This sounds like a bug in the IDE, have you got the latest service pack? Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
ettropics Posted February 20, 2003 Posted February 20, 2003 Cannot call Invoke or InvokeAsync... I had this error also and it acted in the same way. After thoroughly going through my form, I discovered that I had created an SQLCommand and then not put it to use. After I deleted the SQLCommand and code, the error was resolved. Hope that helps you. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.