This recent discussion should help you.
If you want all of the HTML or text from a page loaded in HTMLViewer, have a look at this one: