G
Guest
I have an application that runs as a service. It needs to parse a websites
dom using mshtml. The problem is, to get the document I'm trying to use the
WebBrowser control. That barfs though and says that the control can't run
unless the application is setup as STA. I've marked the thread that runs it
as STA, which allows it to run, but the WebBrowser control doesn't actually
navigate.
Is there any other way to load a document into MSHTML without the WebBrowser
Control?
dom using mshtml. The problem is, to get the document I'm trying to use the
WebBrowser control. That barfs though and says that the control can't run
unless the application is setup as STA. I've marked the thread that runs it
as STA, which allows it to run, but the WebBrowser control doesn't actually
navigate.
Is there any other way to load a document into MSHTML without the WebBrowser
Control?