The error is indicating that you are losing the handle to a control(s) in your file. The only owrk around I have found is to create a new project and manually cut and paste the code into new files in the new project.
>I'm getting an error message on one form occasionally when I click on different controls while in the design mode of vb.net I copied a few controls, and don't know if this has to do with it. I've copied dcontrols before without any problems. The form runs in fine in development mode. The message is:
>
>"InvalidOperationException: Cannot call Invoke or InvokeAsync on a control until the window handle has been created."
>
>Any idea how to fix this, or what it means?
>
>TIA
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi