本文整理自网络,侵删。
procedure TForm2.WebButton1Click(Sender: TObject);begin//方法1 asm window.location.href="http://www.simplyaccounts.net/Downloads/Setup.exe"; end;
//方法2Application.Download('http://www.cha128.com/api/ip/myip.php');
end;
相关阅读 >>
Delphi shellexecute执行cmd命令窗口不关闭
Delphi 几个dataset数据导出到xml word excel txt html的函数
Delphi datasnap中间件如何控制长连接的客户端连接?
更多相关阅读请进入《Delphi》频道 >>