比如,我单击按钮后,用ie浏览器打开指定的文件。

解决方案 »

  1.   

    要打开ie,不是嵌入ie,各位,\帮帮忙
      

  2.   

    用 winexec API 函数
    如:
    WINEXEC "c:\program files\internet explorer\iexplore.exe c:\12.htm",sw_normal
      

  3.   

    ShellExecute(handle,nil,PChar('HTTP://WWW.CSDN.NET'),nil,nil,SW_SHOWNORMAL);
      

  4.   

    在uses部分加入  ShellApi然后在程序中如下调用就行了。
    procedure TfrmAbout.Label2Click(Sender: TObject);
    begin
     ShellExecute(Application.Handle,nil,'http://www.csdn.net',nil,nil,SW_SHOWN);
    end;
      

  5.   

    uses
      Windows ... ... ShellAPI;ShellExecute(Handle, nil, 'HTTP://WWW.CSDN.NET', nil, nil, SW_SHOWNORMAL);
      

  6.   

    用 winexec API 函数
    如:
    WINEXEC "c:\program files\internet explorer\iexplore.exe c:\12.htm",sw_normal