Home > Back-end >  For Delphi the ie web content such as uc code
For Delphi the ie web content such as uc code

Time:09-17

Var
ShellWindow: IShellWindows;
NCount: integer;
SpDisp: IDispatch;
I, ii, im: integer;
Vi: OleVariant;
IE1: IWebBrowser2;
IDoc1: IHTMLDocument2;
E: IHTMLElement;
Hh: hresult;
Vitem, CNS: ihtmlelementcollection;
Temps: string;
The begin
ShellWindow:=CoShellWindows. Create;
NCount:=ShellWindow. Count;
For I:=0 to do nCount - 1
The begin
Vi:=I;
SpDisp:=ShellWindow. Item (vi);
Hh:=spDisp. QueryInterface (iWebBrowser2, IE1);
Hh:=IE1. Document. QueryInterface (IHTMLDocument2 iDoc1);

,,,,,,


But not the browser,

CodePudding user response:

The above code can obtain Internet explorer web content, but take less than other than ie browser uc web content,

CodePudding user response:

Don't understand, the same web page, only in Internet explorer and the IE browser may show that the effect of different, but the web content should be the same!
  • Related