请教各位,如何用delphi编程控制 IE,有相关的资料请推荐

解决方案 »

  1.   

    过时的技术是用DDE,
    流行的技术是用COM,
    这类的资料网上很少的,
    我也想找一些,
    但都无功而返。
      

  2.   

    转贴在程序中如何实现以下功能
    1、让已打开的IE打开另一个指定的主页(地址在程序中指定)。
    2、如何让正在打开的IE停止。(即停止按扭被按下的功能)。
    3、在程序中如何关闭一个IE。uses Comobj, ... ... ;
    {...}
    var
      Form1: TForm1;
      IEApp: Variant;{...}
    procedure TForm1.Button1Click(Sender: TObject);
    begin
     IEApp := CreateOLEObject('InternetExplorer.Application');
     IEApp.visible := true;
     IEApp.Top := 0;
     IEApp.Left := 0;
     IEApp.width := screen.width;
     IEApp.height := screen.height;
     IEApp.Navigate('http://www.delphibbs.com');
    end;IE的其它的控制:
      IEApp.GoForward ;
      IEApp.GoBack ;
      IEApp.GoHome ;
      IEApp.Refresh ;
      IEApp.Stop ;
      IEApp.GoHome ;
      IEApp.FullScreen  := true;
      IEApp.StatusText  := 'My Status Text';
      IEApp.Path        := Show Path to IE
      IEApp.FullName    := Full Path to IE
      IEApp.LocationURL := Get active Url
      IEApp.quit;