Welcome![Sign In][Sign Up]
Location:
Search - IHTMLDocument2

Search list

[Internet-NetworkIE4SinkDemo

Description: unit Cweb2 interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, OleCtrls, SHDocVw, StdCtrls, ActiveX type TForm1 = class(TForm) WebBrowser1: TWebBrowser procedure FormCreate(Sender: TObject) procedure WebBrowser1DocumentComplete(Sender: TObject const pDisp: IDispatch var URL: OleVariant) procedure DemoEventSink(Sender: TObject) private public { Public declarations } end var Form1: TForm1 implementation {$R *.dfm} uses MSHTML, IEDocHostUIHandler, IEConst, DHTMLEvent,comobj var FDocHostUIHandler: TDocHostUIHandler //为屏蔽右键菜单 Doc : IHTMLDocument2 Element : IHTMLElement EventSink: TDHTMLEvent procedure TForm1.FormCreate(Sender: TObject) begin FDocHostUIHandler := TDocHostUIHandler.Create //为屏蔽右键菜单 EventSink := TDHTMLEvent.Create WebBrowser1.Navigate(GetCurrentDir + \\index.htm ) end procedure TForm1.DemoEventSink(Sender: TObject) Var S:String -unit Cweb2 interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, OleCtrls. SHDocVw, StdCtrls. ActiveX type TForm1 = class (TForm) WebBrowser 1 : TWebBrowser procedure FormCreate (Sender : TObject) procedure WebBrowser1DocumentComp lete (Sender : TObject const pDisp : IDispatch var URL : OleVariant) procedure DemoEventSink (Sender : TObject) private public (Public declaration s) var end Form1 : TForm1 implementation ($ R *. dfm) uses MSHTML , IEDocHostUIHandler, IEConst, DHTMLEven t, comobj var FDocHostUIHandler : TDocHostUIHandler / / right-click menu for shielding Doc : IHTMLDocument2 Element : IHTMLElement EventSink : TDHTMLEvent procedure TForm1.FormCreate ( Sender : TObject) begin FDocHostUIHandler : = TDocHostUIHandler.Create / / right-clic
Platform: | Size: 19867 | Author: sbl | Hits:

[Browser ClientGetLinks21

Description: 主要功能为获取网页所有链接,首先是用IHTMLDocument2的get_links,来获取IHTMLElementCollection接口,再通过IHTMLElementCollection来获取IHTMLAnchorElement,而IHTMLAnchorElement接口的get_href就是我们想要的,通过循环获取,我们就可以得到网页的所有链接了。
Platform: | Size: 629815 | Author: zhangmeng | Hits:

[WinSock-NDIS获取网页密码、代码程序

Description: 本程序演示如何通过窗口句柄取webbrowser控件的IHtmlDocument2接口-this program demonstrated how to handle through the window from the desired command control interface IHtmlDocument2
Platform: | Size: 67238 | Author: 夏添 | Hits:

[Internet-Network获取网页密码、代码程序

Description: 本程序演示如何通过窗口句柄取webbrowser控件的IHtmlDocument2接口-this program demonstrated how to handle through the window from the desired command control interface IHtmlDocument2
Platform: | Size: 66560 | Author: 夏添 | Hits:

[ISAPI-IEIE4SinkDemo

Description: unit Cweb2 interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, OleCtrls, SHDocVw, StdCtrls, ActiveX type TForm1 = class(TForm) WebBrowser1: TWebBrowser procedure FormCreate(Sender: TObject) procedure WebBrowser1DocumentComplete(Sender: TObject const pDisp: IDispatch var URL: OleVariant) procedure DemoEventSink(Sender: TObject) private public { Public declarations } end var Form1: TForm1 implementation {$R *.dfm} uses MSHTML, IEDocHostUIHandler, IEConst, DHTMLEvent,comobj var FDocHostUIHandler: TDocHostUIHandler //为屏蔽右键菜单 Doc : IHTMLDocument2 Element : IHTMLElement EventSink: TDHTMLEvent procedure TForm1.FormCreate(Sender: TObject) begin FDocHostUIHandler := TDocHostUIHandler.Create //为屏蔽右键菜单 EventSink := TDHTMLEvent.Create WebBrowser1.Navigate(GetCurrentDir + \index.htm ) end procedure TForm1.DemoEventSink(Sender: TObject) Var S:String -unit Cweb2 interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, OleCtrls. SHDocVw, StdCtrls. ActiveX type TForm1 = class (TForm) WebBrowser 1 : TWebBrowser procedure FormCreate (Sender : TObject) procedure WebBrowser1DocumentComp lete (Sender : TObject const pDisp : IDispatch var URL : OleVariant) procedure DemoEventSink (Sender : TObject) private public (Public declaration s) var end Form1 : TForm1 implementation ($ R*. dfm) uses MSHTML , IEDocHostUIHandler, IEConst, DHTMLEven t, comobj var FDocHostUIHandler : TDocHostUIHandler// right-click menu for shielding Doc : IHTMLDocument2 Element : IHTMLElement EventSink : TDHTMLEvent procedure TForm1.FormCreate ( Sender : TObject) begin FDocHostUIHandler : = TDocHostUIHandler.Create// right-clic
Platform: | Size: 19456 | Author: | Hits:

[ISAPI-IEienovel

Description: 一个很好的基于IE内核用MFC开发的浏览器,与其他开源代码不同的是有一份详细的文档,便于你再次开发自己的浏览器。-A good kernel with MFC-based development of IE browser, and other open source code is different from the document has a detailed, easy to you once again to develop their own browser.
Platform: | Size: 63488 | Author: 秦肇伟 | Hits:

[Browser ClientGetLinks21

Description: 主要功能为获取网页所有链接,首先是用IHTMLDocument2的get_links,来获取IHTMLElementCollection接口,再通过IHTMLElementCollection来获取IHTMLAnchorElement,而IHTMLAnchorElement接口的get_href就是我们想要的,通过循环获取,我们就可以得到网页的所有链接了。-Main function is to access the page all the links, first of all is IHTMLDocument2 the get_links, to obtain IHTMLElementCollection interface, IHTMLElementCollection to get through IHTMLAnchorElement, and IHTMLAnchorElement interface get_href is what we want, through the cycle of acquisition, we can get all the links page a.
Platform: | Size: 743424 | Author: zhangmeng | Hits:

[ISAPI-IEenum_selected_elements_demo

Description: How to identify the different elements in the selection of web pages <H2>Introduction</H2> <P>First, I get an IHTMLDocument2 interface for the browser component and then get the selection property of the interface to get an <CODE>IHTMLSelectionObject</CODE> interface. Now came the tough part, actually parsing the stuff. I d assumed that if I was able to create a control range using the <CODE>createRange</CODE> method for the selection, that I d be able to get a list which would have the HTML tags and their attributes neatly separated.</P>
Platform: | Size: 163840 | Author: gaemasher | Hits:

[ISAPI-IEIHTMLDocument2findAtag

Description: IHTMLDocument2应用,遍历本地HTML文件中的所有超级链接。-IHTMLDocument2 yingyong,bianlibendi HTML wenjianzhongdesuoyoulianjie. My English is poor.
Platform: | Size: 21504 | Author: q1196403 | Hits:

[OS programIEHelper_src

Description: The purpose of this article is to show how to use IWebBrowser2, IHTMLDocument2 and IHTMLElement objects
Platform: | Size: 8192 | Author: liuhua | Hits:

[Dialog_WindowGetAllWebAddress

Description: 用IHTMLDocument2接口获取打开网页中的所有网址链接-IHTMLDocument2 interface with open access to all Web page links
Platform: | Size: 710656 | Author: tujiaw | Hits:

[ISAPI-IEget_links

Description: 如何提取网页中所有链接 见过“网际快车”的“使用网际快车下载全部链接”这个功能吗?想实现它,我们可以这样做: IE有几个有用的接口,我们可以用它来提取网页所有链接。-IHTMLDocument2 get_links
Platform: | Size: 1024 | Author: wxg | Hits:

[ISAPI-IEIHTMLDocument2

Description: IHTMLDocument2的使用 (DOM编程)-IHTMLDocument2 (DOM programm)
Platform: | Size: 9216 | Author: dreamer | Hits:

[ADO-ODBCIEHelper_src

Description: The purpose of this article is to show how to use IWebBrowser2, IHTMLDocument2 and IHTMLElement objects
Platform: | Size: 9216 | Author: dn2550qiangj | Hits:

[Otherpail32

Description: 本程序演示如何通过窗口句柄取webbrowser控件的IHtmlDocument2接口-This procedure demonstrates how to through the window handle to collect the webbrowser control IHtmlDocument2 interface
Platform: | Size: 56320 | Author: Itrmc | Hits:

[ComboBox9296218

Description: 本程序演示如何通过窗口句柄取webbrowser控件的IHtmlDocument2接口-This procedure demonstrates how to through the window handle to collect the webbrowser control IHtmlDocument2 interface
Platform: | Size: 56320 | Author: bbtjrn | Hits:

[ComboBoxwvbtoowser-demonstrates-webbrowser

Description: 本程序演示如何通过窗口句柄取webbrowser控件的IHtmlDocument2接口(This procedure demonstrates how to through the window handle to collect the webbrowser control IHtmlDocument2 interface)
Platform: | Size: 56320 | Author: Daaevai | Hits:

[ComboBox169452

Description: 本程序演示如何通过窗口句柄取webbrowser控件的IHtmlDocument2接口()
Platform: | Size: 56320 | Author: Dlovan | Hits:

[Othergqdui390

Description: 本程序演示如何通过窗口句柄取webbrowser控件的IHtmlDocument2接口()
Platform: | Size: 56320 | Author: eerivattoe | Hits:

CodeBus www.codebus.net