我想实现如下功能:点击菜单,调用Word ,Excel ,Windows自带的计算器,AutoCad,怎么实现?
谢谢指教!!!

解决方案 »

  1.   

    uses shellapi;shellexecute(handle,'open','WINWORD.exe',nil,nil,sw_shownormal);
      

  2.   

    shellexecute(handle,'open','EXCEL.exe',nil,nil,sw_shownormal);
      

  3.   

    shellexecute(handle,'open','calc.exe',nil,nil,sw_shownormal);
    shellexecute(handle,'open','AutoCad.exe',nil,nil,sw_shownormal); //没装autocad
      

  4.   

    shellexecute(handle,'open','calc.exe',nil,nil,sw_shownormal);shellexecute(handle,'open','EXCEL.exe',nil,nil,sw_shownormal);同时要引用windows,shellapi单元。
    uses windows shellapi;