In fact, it doesn't even need to be a 'document'. Navigate to "about
:blank"
for the same effect. In any case, this is correct initialisation procedure
for the control. Be sure to wait for readyState to return "complete" before
you continue.
HTH
Charles
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:O0**************@TK2MSFTNGP12.phx.gbl...
"shadowboxer" <sh*********@discussions.microsoft.com> schrieb: I have something like this
dim strHTML as String = "<HTML>TEST</HTML>"
What I want to do is show that text in the control without having to save
it
to a temp file first.
You can navigate to an "empty" dummy document and set
'Document.innerHTML' to the string containing the HTML code.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>