Hi,
I'm trying to host a web browser inside a Windows Forms application
using mshtml (axWebBrowser). However, I need to have the web control ask my
application for the html to display instead of trying to find it itself.
For example, my main html page just describes frames in the page, each
with a url for the content, and I want the control to ask me for the html
content to display in each frame (kind of like having a browser control with
a servlet attached to it). I need to do this so that I can dynamically
alter the html content based on things selected in my application.
I can get the active document from the axWebBrowser control and set the
"innerHtml" property of the body element to my main html page, but I need to
be able to do this for any page that the browser needs to display. Any
ideas on how to do this, or does anyone know of any third party html viewers
that work in .NET that have this functionality?
Thanks,
Mike
Tim Anderson - 24 Oct 2003 18:05 GMT
> be able to do this for any page that the browser needs to display. Any
> ideas on how to do this, or does anyone know of any third party html viewers
> that work in .NET that have this functionality?
There's a few, this is mine:
http://www.itwriting.com/htmleditor/index.php
Tim