When you click this button, the page will attempt to call the custom method called "MyCustomMethod" in the controlling host. To do so, MsHtml will first call the host's GetExternal( ) method -- if available. If GetExternal( ) returns the IDispatch interface of the host, MsHtml will then use this interface to call the method MyCustomMethod( ).