threading issue

  • Thread starter Thread starter Rick
  • Start date Start date
R

Rick

I have a form A that is running on thread A.
I have a timer that fires on thread B and tries to open form A.
Using .Net 2.0 it will throw a cross thread operation not valid error.
If I first test form A to see if A.InvokeRequired, it always returns
false.
If I suppress the cross thread errors, it will open the form, but hang.

Any suggestions?
Thanks,
Rick
 
Can you post some code that shows the error?

--
Warm Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Professional VSTO 2005 - Wrox/Wiley 2006
Blog: http://msmvps.com/blogs/Alvin/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top