Home COM GDI+ WebBrowser Data Access

TB_HTML v. 1.0

MSHTML Wrapper Functions

 

Disclaimer

 

This software and accompanying documentation are provided "as is" and without warranties as to performance or merchantability or any other warranties whether expressed or implied. Because of the various hardware and software environments into which this application may be used, no warranty of fitness for a particular purpose is offered. The user must assume the entire risk of using this software. In no case shall any of the contributors to this project be liable for any incidental, special or consequential damages or loss, including, without limitation, lost profits or the inability to use equipment or access data. This is true even if we are advised of the possibility of such damages. We also don't have any obligation of' fix eventual bugs or to add new features.

 

 

 

MSHTML was introduced in Microsoft Internet Explorer 4.0. It is the main HTML component of the Internet Explorer browser and can be used in other applications. It hosts Microsoft ActiveX Controls and supports the OLE Control '96 (OC96) specification for windowless controls.

 

MSHTML itself is an Active Document, so it can be hosted by implementing the Active Document interfaces in an application. MSHTML can also be customized by aggregation to create a special-purpose HTML Active Document. Applications that contain MSHTML supply their own toolbars and menu user interface (UI). The container can also override the default context menus.

 

You can also use MSHTML without UI activation to make use of the MSHTML ability to parse HTML. By loading HTML, you can use the object model to access the underlying HTML and modify any elements. Component Object Model (COM) objects hosted by MSHTML (such as ActiveX Controls) also have the ability to access the Dynamic HTML (DHTML) Object Model.

 

To integrate Internet browsing into an application, it is recommended that you host the WebBrowser Control. The WebBrowser control implements support for in-place linking and navigation, in addition to MSHTML.

 

To customize printing and the Print Preview feature introduced in Internet Explorer 5.5, use the IDM_PRINT and IDM_PRINTPREVIEW commands to pass the URL of a custom print template to MSHTML. Print templates give you control over the way MSHTML prints a document; they also offer control over the UI features provided in print preview mode.

 

TB_HTML.DLL is a collection of wrapper functions that allow you to use the Microsoft HTML Object Library in procedural form using PowerBASIC Compiler for Windows 7.0+ or PowerBASIC Console Compiler 3.0+.

 

 

Downloads

 

Downloads available in my forum.

 

 

Page last updated on Friday, 20 July 2007 18:59:06 +0200