Loading crude HTML into the WebBrowser control
Posted on 2003-03-30
How can I load crude HTML text from a ordinary textbox to the WebBrowser conntrol?
For instance, suppose I got the following HTML code in a textbox:
<FONT COLOR="BLACK">Hello world!</FONT>
And now I want to put it into the WebBrowser to be showing as an HTML page... is that possible?
With the DHTMLEdit control we could do this because it had a property named "DocumentHTML" which accepts HTML code. But I can't use DHTMLEdit in this case... please help!