first_page the funky knowledge base
personal notes from way, _way_ back and maybe today

The Microsoft.mshtml Namespace; Accessing the DHTML DOM from C#

Martin Tracy wrote a three-page walkthrough for MSDN "Walkthrough: Accessing the DHTML DOM from C#" here:

http://msdn.microsoft.com/library/default.asp?
    url=/library/en-us/dv_vstechart/html/
        vsgrfWalkthroughAccessingDHTMLDOMFromC.asp

This article features the use of the Microsoft.mshtml namespace used to display Internet Explorer in a Windows Form via the COM-based Microsoft Web Browser control (AxSHDocVw). Simultaneously, there are a number of articles on CodeProject.com that also use AxSHDocVw but they do not use the Microsoft.mshtml namespace. These articles are recorded in the kintespace.com Blog here:

http://www.kintespace.com/rasxlog/index.php?p=84

These articles are unaware of the Microsoft.mshtml namespace; they feature designs that are quite complex in part because they depend on the use of the IDocHostUIHandler interface. It appears that this interface is used instead of the Microsoft.mshtml namespace. The guidance in the Martin Tracy article should be prioritized before the other articles.

mod date: 2005-03-27T07:33:49.000Z