use shellapi 
1.ShellExecute(handle,nil,pchar('http://cartoonfile.163.com/source/4403/xsyrj.swf'),nil,nil,sw_shownormal);
2.shellexecute(handle,'open','c:\demo.exe','','',sw_shownormal);

解决方案 »

  1.   

    对于 exe 文件,可以用楼上所说的 ShellExecute(),也可以用 WinExec().
    chm 文件,你也可以试试.
      

  2.   

    chm文件不用试了,WinExec()不支持,它只支持可执行文件。WinExec使用示例:WinExec('c:\downloads\demo.exe',sw_shownormal);ShellExecute()可以运行可执行文件和与可执行关联的其它文件,
    但需要uses ShellApi;语句支持。
      

  3.   

    ShellExecute()或者WinExec(),推荐用ShellExecute()