调用api函数:
ShellExecute(0, nil, pchar(label1.Caption), nil, nil, sw_normal);

解决方案 »

  1.   

    如:Shellexecute(handle,nil,pchar('www.csdn.net'),nil,nil,sw_shownormal);
      

  2.   

    可是怎么知道ie的路径呢??,要是系统默认的浏览器是netscape呢,
    关键是如何提取系统指定的浏览器程序!!!
      

  3.   

    记得在uses中加入,Shellapi单元!
      

  4.   

    uses中加入ShellApiShellExecute(0, 'open', 'http://www.csdn.net', nil, nil, sw_normal);
      

  5.   

    uses ShellApi
    ShellExecute(0, 'open', 'http://www.csdn.net', nil, nil, sw_normal);
      

  6.   

    和路径无关,因为在注册表里,已经和IE关连上了!如果关连程序为netscape,就调用netscape打开咯!
    IE路径为系统盘下的:
    Program Files\Internet Explorer\IEXPLORE.EXE
      

  7.   

    直接用
    Shellexecute(handle,nil,pchar('www.csdn.net'),nil,nil,sw_shownormal);
    用這個就行了,其它的由OS來管理