开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜