| | Scott Hanselman's Computer Zen - How to load HTML into mshtml.HTMLDocumentClass with UCOMIPersistFile and my ignorance (Site not responding. Last check: 2007-10-29) |
 | | I suspect that the reason for this is that MSHTML exists for IE, and is not a generic HTML parsing mechanism. |
 | | The problem, as Don points out, is that MSHTML's implementation of IPersistFile requires a window message pump, and DoEvents (in.NET) is the only way to start one up. |
 | | As it stands and AFAIK there is no way to use MSHTML as an HTML parser without a message pump, so your implementation is probably the best way to go. |
| www.hanselman.com /blog/HowToLoadHTMLIntoMshtmlHTMLDocumentClassWithUCOMIPersistFileAndMyIgnorance.aspx (692 words) |