Calling another form with WebBrowser from mainform - giving ERROR?
I'm calling from3 from my form1 and its giving this error in Initialize开发者_StackOverflow中文版Component()
Form3 frm = new Form3();
frm.Show();
Error "ActiveX control '8856f961-340a-11d0-a96b-00c04fd705a2' cannot be instantiated because the current thread is not in a single-threaded apartment."
from3 is having a WebBrowser control and my from1 is running a backgroundworker
thnx
精彩评论