开发者

Calling another form with WebBrowser from mainform - giving ERROR?

开发者 https://www.devze.com 2023-04-06 09:34 出处:网络
I\'m calling from3 from my form1 and its giving this error in Initialize开发者_StackOverflow中文版Component()

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

精彩评论

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