Jump to content
Xtreme .Net Talk

Recommended Posts

Posted (edited)

Plaese help me solve this problem

I'm trying to open form2 from form1

then open form3 from form2 at the same time close form2

then close form3

then start over open form2 from form1

I get this error : Exception has been thrown by the target of an invocation.

Any Idea???

I have attached the code.

 

[edit] Please don't upload binaries in attachments - divil [/edit]

testcenter.zip

Edited by PlausiblyDamp
Posted

I got the error, this is what I did

 

Open Form2

Click to open Form3 and close Form2

Close Form3

... 'til here everything is OK then try it again without closing Form1, the error appears

 

Attached you will find how I solved it, I think is the way you declared your Forms, the code I use in the example I'm sendig you works fine

 

Regards

Fat kids are harder to kidnap

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...