delphi打开新窗口(网页) 用下面一句打开网页,不怎么好,要是有其它IE窗口地话就有改变shellexecute(handle,'open', 'default.html', nil, nil,sw_shownormal);我想要做到真正打开新窗口,如何来做啊?就象html语言中的target='_blank'谢谢 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 shellexecute(handle,'open','iexeplore.exe','default.html',, nil,sw_shownormal);---------------------------------------------------http://kmok.cn 谢谢楼上的不过按你那个做做好象并没有出现新窗口你地还多了一个参数我是这样地shellexecute(handle,'open','iexeplore.exe','default.html', nil,sw_shownormal); 对了,'default.html'这个文件一定是相对路径,因为和这个执行文件在同一目录ps:刚才你把那个iexplore写错了 shellexecute(handle,'open','C:\Program Files\Internet Explorer\IEXPLORE.EXE','about:blank', nil,sw_shownormal);试验成功 http://www.codeproject.com/shell/AutomateShellWindow.asp 来时都看看贴子解决了没??jiangsheng(蒋晟.MSMVP2004Jan) ( ) 信誉:105 2005 这个老大的都是英文,看不明白 faint...目前还未解决,哪位好心解决一下,不胜感谢 uses ComObj, SHDocVw_TLB {You forgot SHDocVw_TLB}; procedure OpenInternetExplorer(address : string); var IE : Variant; begin // You missed the quotes around 'InternetExplorer.Application' IE := CreateOleObject('InternetExplorer.Application'); IE.Visible := true; IE.Navigate(address); end; 谁知道哪儿有delphi的中文帮助下吗? IntraWeb,Help? 怎样判断一个子窗口是否已经打开? 如何用Delphi取出一个数据库中的表名??? 关于OleContainer嵌入的问题,如何屏蔽WORD的右键菜单 关闭程序 最近发现一个挺好的自学视频网站,介绍给大家! 在Delphi中,怎样才能把一控件卸得很干净,就像当初没装过它时的状态? 我要透明的Panel, 快没气了, 找了一下午!!!!! 有关窗体的几个问题 奇怪的update问题,请大虾看看。 搜寻到底哪里出错了! 帮忙看看!
---------------------------------------------------
http://kmok.cn
不过按你那个做做好象并没有出现新窗口你地还多了一个参数
我是这样地
shellexecute(handle,'open','iexeplore.exe','default.html', nil,sw_shownormal);
这个文件一定是相对路径,因为和这个执行文件在同一目录ps:刚才你把那个iexplore写错了
这个老大的都是英文,看不明白 faint...目前还未解决,哪位好心解决一下,不胜感谢
ComObj, SHDocVw_TLB {You forgot SHDocVw_TLB}; procedure OpenInternetExplorer(address : string);
var
IE : Variant;
begin
// You missed the quotes around 'InternetExplorer.Application'
IE := CreateOleObject('InternetExplorer.Application');
IE.Visible := true;
IE.Navigate(address);
end;