How do you get a HTMLDocument into a webBrowser Object?
Posted on 2004-08-23
Let's say I had something like this in a forms load event.
Dim xxx As HTMLDocument
Set xxx = New HTMLDocument
xxx.body.innerHTML = "<body><p>what the hell</p></body>"
and on the form I have a webBrowser Object called wbMain. How do I get the HTMLDocument into wbMain.
I don't care if I have to save to a file first then navigate wbMain to it. I just need to be able to dynamically generate html and get it into a webBrowser object?