本机可以打开,好使,编译好的程序拿到其他机器却无法打开,为什么?

解决方案 »

  1.   

    ShellExecute(Self.Handle, 'Open', Pchar('IEXPLORE'), Pchar('http://www.sina.net.cn'), nil, SW_SHOW);你是这样写的吗?
      

  2.   

    Shellexecute(GetDesktopWindow, 'open',pchar('http://www.163.com'),nil,nil,sw_shownormal);
      

  3.   

    ShellExecute(Handle, 'Open', 'IEXPLORE.EXE', 'http://www.sohu.com', nil, SW_SHOW);请确定执行的机器中是否有IE浏览器。
      

  4.   

    uses shellapi;ShellExecute(Handle, 'Open', 'IEXPLORE.EXE', 'http://www.sohu.com', nil, SW_SHOW);