用下面一句打开网页,不怎么好,要是有其它IE窗口地话就有改变shellexecute(handle,'open', 'default.html', nil, nil,sw_shownormal);我想要做到真正打开新窗口,如何来做啊?
就象html语言中的target='_blank'谢谢

解决方案 »

  1.   

    shellexecute(handle,'open','iexeplore.exe','default.html',, nil,sw_shownormal);
    ---------------------------------------------------
    http://kmok.cn
      

  2.   

    谢谢楼上的
    不过按你那个做做好象并没有出现新窗口你地还多了一个参数
    我是这样地
    shellexecute(handle,'open','iexeplore.exe','default.html', nil,sw_shownormal);
      

  3.   

    对了,'default.html'
    这个文件一定是相对路径,因为和这个执行文件在同一目录ps:刚才你把那个iexplore写错了
      

  4.   

    shellexecute(handle,'open','C:\Program Files\Internet Explorer\IEXPLORE.EXE','about:blank', nil,sw_shownormal);试验成功
      

  5.   

    http://www.codeproject.com/shell/AutomateShellWindow.asp
      

  6.   

    来时都看看贴子解决了没??jiangsheng(蒋晟.MSMVP2004Jan) ( ) 信誉:105  2005 
    这个老大的都是英文,看不明白  faint...目前还未解决,哪位好心解决一下,不胜感谢
      

  7.   

    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;