Getting error on inserting webbrowser inside panel in c#
问题 i am developing an application in which i require to insert a webbrowser inside a panl.while doing this i am getting error inside desginer code "Unable to get the window handle for the 'WebBrowser' control. Windowless ActiveX controls are not supported."for which i have put the code to run it inside STSthread.but after that i am getting error of "cross thread.." Thread newThread = new Thread(newThreadStart(MethodToCallCOMMethod)); newThread.SetApartmentState(ApartmentState.STA); newThread