uses shellapi
shellexecute

解决方案 »

  1.   

    to  tygh2000(峰)
      能不能具体点?如何把网页地址作为参数?
      

  2.   

    Winexec('IEXPLORE www.163.net ',SW_MAXIMIZE)
      

  3.   

    var url: string;
    begin
      url:='http://www.csdn.net';                   
      ShellExecute(Handle, nil,pchar(url),'','',0);
    end;
      

  4.   

    Winexec('C:\Program Files\Internet Explorer\IEXPLORE.EXE www.163.net ',SW_MAXIMIZE); Test OK
      

  5.   

    首先要引用ShellAPI单元(uses shellAPI)
    在button的onclick中写下
    ShellExecute(handle,nil,pchar('http://www.csdn.net'),nil,nil,sw_shownormal);