Topic: 怎么样用按钮打开应用程序。如 *.pdf

  Print this page

1.怎么样用按钮打开应用程序。如 *.pdf Copy to clipboard
Posted by: menglong35
Posted on: 2004-08-13 11:48

怎么样用按钮打开应用程序。如 *.pdf

2.Re:怎么样用按钮打开应用程序。如 *.pdf [Re: menglong35] Copy to clipboard
Posted by: KunMao
Posted on: 2004-09-07 20:09

Runtime.getRuntime().exec("cmd.exe /c start "+“pdf 的路径”);

3.Re:怎么样用按钮打开应用程序。如 *.pdf [Re: KunMao] Copy to clipboard
Posted by: menglong35
Posted on: 2004-09-08 08:41

谢谢老兄
我用了个很笨的方法也做出来了
不过还是你的好
ce.exec("D:/Program Files/Adobe/Acrobat 6.0/Reader/AcroRd32.exe E:/project_eat/src/chanyin/report.pdf");
谢谢.


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923