shellExcute(Handle,'open',p,'','',SW_NORMAL);
                                  ~~~~~~~~~~~~~~SW_SHOW

解决方案 »

  1.   

    你的open应该具体到用哪个执行文件,比如notepad.exe之类的
      

  2.   

    差不多是这样了,open 可以打开文档或运行可执行文件
      

  3.   

    Shellexecute(Handle,'open','http://www.etherl.com',nil,nil,SW_SHOW);
    里面的参数是可以变化!能加分?
      

  4.   

    使用
    lxycsdn(林)的源码,能打开对应的网址,可是一放到我的程序中去,把
    'http://www.etherl.com'替换成P,在我的程序还是没有反应,能帮我解决这个问题吗?
      

  5.   

    shellexecute(handle,pchar('open'),pchar(FileName),pchar(Name),pchar(Path),SW_SHOWNORMAL);
    pchar(FileName)是要打开的文件和路径
    pchar(Name)是使用什么应用程序来打开这个文件
    pchar(Path)是应用程序所在位置的路径
      

  6.   

    ShellExecute(Handle,nil,'mailto:[email protected]',nil,nil,SW_NORMAL );