> i'm am trying to build an assembly can be used thru asp.net to
'browse' to
> a web page and return the html, maybe there's an easier way that i
haven't
> found yet. The reason that i'm using the shdocvw.dll control is
because
> it'll also execute any client side code (such as redirects). any
> suggestions would be appreciated.

Although using the web browser control from a web page just seems like
an awful idea to me, I believe you can get it to run in an STA by using
the AspCompat attribute, i.e.

<%@ Page AspCompat="true" %>

You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced 
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to