如何能保证只用IE浏览器打开连接地址??(50分)

H

heming

Unregistered / Unconfirmed
GUEST, unregistred user!
类似以下代码:
procedure TForm1.DBText5Click(Sender: TObject);
begin
ShellExecute(handle,'open',pchar('http://'+serverhost+'/kshmis/gzap/doc/'+(sender as TDBText).caption),nil,nil,sw_shownormal);
end;
如何能保证只用IE浏览器打开连接地址(在一些安装了腾讯QQ的机器上总是用腾讯的浏览器打开该连接)
 
winexec("ie.exe http://xxx");
ie的可执行文件名自己查一下吧.[:)]
 
同意小猪,关键是打到IE的EXE。
 
ShellExecute(0, 'open', 'Explorer.exe', Pchar(sURL), NIL, SW_SHOW);
 
接受Adnil的方法
 
顶部