ShellExecute(Handle,pchar('open'),pchar('http://www.163.Com'),nil,nil,SW_SHOW);

解决方案 »

  1.   

    你是指什么路径不存在啊?如果winexec不行,可以试试以下:
        ShellExecute(handle,pchar('open'),pchar('iexplore.exe'),pchar(‘http://www.163.com'),nil,SW_MAXIMIZE);
      

  2.   

    调用IE一种方法
    procedure TForm1.Button1Click(Sender: TObject);
    var
      IE:Variant;
    begin
      IE:=CreateOLEObject('InternetExplorer.Application');
      Try
        IE.Navigate('e:\北京人都是活雷锋_影行天下_新浪网.htm');
        IE.Visible:=True;
      Except
        IE:=CreateOLEObject('InternetExplorer.Application');
        IE.Navigate('e:\北京人都是活雷锋_影行天下_新浪网.htm');
        IE.Visible:=True;
      end;