Click to See Complete Forum and Search --> : Urgent ! About Webbrowser !


dodo
March 21st, 1999, 11:04 AM
Hi,


I want to use Webbrowser Control to display a HTML format string generated in my program. I don't want to save it in file then re-read it by Webbrowser Navigate2 method. Is there anyway I can send the string to Webbrowser directly?


Thanks a million!!!


Dodo

Ravi Kiran
March 22nd, 1999, 09:20 PM
Hi,


I have not tried this myself. I can give you an idea.


Get a pointer to the Document of the WebBrowser and then write to this Document.

set tmpDocptr = WebBrowser1.Document

It supports standard HTML. It is like creating a ActiveX Document.


I read this somewhere on MS's MSDN site. Check in Books-Online/Partial-Books sections


Ravi

Ravi Kiran
March 22nd, 1999, 09:20 PM
Hi,


I have not tried this myself. I can give you an idea.


Get a pointer to the Document of the WebBrowser and then write to this Document.

set tmpDocptr = WebBrowser1.Document

It supports standard HTML. It is like creating a ActiveX Document.


I read this somewhere on MS's MSDN site. Check in Books-Online/Partial-Books sections. Also check in 'Debugging ActiveX Documents' section


Ravi