I want to open Internet explorer from SAP Business One Application like clicking on Integration Administration.
When i try to open it,below error i am facing.
"activex control cannot be instantiated because the current thread is not in single threaded apartment"
Dim newThread As Thread = New Thread(AddressOf ThreadMethod)
Thread.CurrentThread.CurrentUICulture = Thread.CurrentThread.CurrentCulture
Dim testcontrol As WebBrowser
testcontrol = New WebBrowser()
in the last line i am getting the above mentioned error.