WebBrowser.DocumentStream

G

Guest

Hi

I was wondering if it is possible to to set the DocumentStream of the
WebBrowser control to the stream that is returned from a
HttpWebResponse.GetResponseStream()? I have actually tried this with a
HttpWebRequest that goes to http://www.microsoft.com and this work fine,
however if I change the URL to http://www.telerik.com or http://www.apple.com
then the WebBrowser thows an unhandled Permission Denied error. I know that
the DocumentStream can be used to load application specific HTML e.g. from a
resource. My question is that: Is it incorrect to assume that it also can be
used with a live web request? or do I need to do something welse to make
this work correctly?

Thanks

Tareq
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top