• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






旷野轻尘一个人 软件开发

delphi blender lazarus 网络推广 游戏开发 18710517694
 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

打开 ie 新方法 哈哈 http://bbs.csdn.net/topics/1172 非常有用

 
这里有一个从德国下载的资料。不过我自己也没有试过,不知道有没有帮助。

...den Internet Explorer mit OLE steuern ? 

uses comobj; 

procedure OpenIE(aURL: string); 
var 
  IE        : Variant; 
  WinHanlde : HWnd;  
begin  
  if( VarIsEmpty(IE) )then 
  begin  
    IE := CreateOleObject('InternetExplorer.Application'); 
    IE.Visible := true;  
    IE.Navigate(aURL); 
  end  
  else  
  begin  
    WinHanlde := FindWIndow('IEFrame', nil); 
    if (0 <> WinHanlde) then 
    begin  
      IE.Navigate(aURL);  
      SetForegroundWindow(WinHanlde);  
    end  
    else 
      ShowMessage('Can''t open IE !'); 
  end; 
end;  

procedure TForm1.Button1Click(Sender: TObject); 
begin 
  OpenIE('http://www.swissdelphicenter.ch'); 
end; 

 
delphi lazarus opengl 网页操作自动化, 图像分析破解,游戏开发
发表于 2016-08-05 02:41  旷野轻尘一个人  阅读(81)  评论(0)    收藏  举报
 
刷新页面返回顶部