Jump to content
Xtreme .Net Talk

Error:Cannot call Invoke or InvokeAsync ...


Recommended Posts

Guest Priya J
Posted

Hi,

 

I'm developing a data access application with VB .NET. I was adding some ontrols to the windows form and all of a sudden when I click view designer I get the following exception:

 

"InvalidOperationException: Cannot call Invoke or InvokeAsync for the control until a window handle has been created"

 

Does anyone know the cause or the cure?

 

Thanks

PJ

Guest Priya J
Posted

Hi Divil,

Thanks for the reply..

The thing is I tried doing that as soon as I noticed the error.. but it didn't go away. So I'll probably have to roll back a lot to find ot that way and that's kinda nt possible at this stage. So I was wondering if there's another way to find out

 

PJ

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...