Home All Groups Group Topic Archive Search About
Author
12 Sep 2006 3:52 PM
Ryan
I want to be able to view HTML on a form.  Is there any controls that will
do this?  Just a textbox would be great if theres any way to get it to work
right.

Thanks,
Ryan

Author
12 Sep 2006 4:01 PM
Ryan
Well I think I found one of the more useless Microsoft help documents.  It
explains that the Webbrowser control is useful for this very purpose but
fails to explain how to do it.  I don't have a file to set the URL to, just
some HTML text.  Any ideas?
http://msdn2.microsoft.com/en-us/library/sxc145fz.aspx

Show quoteHide quote
"Ryan" <Tyveil@newsgroups.nospam> wrote in message
news:u2Ry%23No1GHA.4648@TK2MSFTNGP04.phx.gbl...
>I want to be able to view HTML on a form.  Is there any controls that will
>do this?  Just a textbox would be great if theres any way to get it to work
>right.
>
> Thanks,
> Ryan
>
Author
12 Sep 2006 4:09 PM
Martin Honnen
Ryan wrote:

> Well I think I found one of the more useless Microsoft help documents.  It
> explains that the Webbrowser control is useful for this very purpose but
> fails to explain how to do it.  I don't have a file to set the URL to, just
> some HTML text.  Any ideas?
> http://msdn2.microsoft.com/en-us/library/sxc145fz.aspx

That control has a property DocumentText that you can set to a string
with the HTML document markup.

--

    Martin Honnen --- MVP XML
    http://JavaScript.FAQTs.com/