Calling a Windows Calculator in a GWT web application [duplicate]

旧时模样 提交于 2019-12-12 06:57:11

问题


When I click the calculator button in my GWT application its trying to call the External Windows Calculator (External webapps). I used to achieve this on ProcessBuilder class in java side.

But i will not able to do it. i have seen one post in stackoverflow similar problem like what i am facing now Post link. There i could not see any solution for that problem thats why i am rising again.

Anybody know How to call the external windows calculator from GWT application?


回答1:


You cannot, by design. If you really, really, really need to, you can ask the user to install some registry fixes that allow you to use the calculator as a custom URI protocol (such as calc://), but that raises so many flags (also in the browser, when you use that link) that it's not worth it.

More to the point: What are you trying to achieve with this? Why do you want to be able to do it?



来源:https://stackoverflow.com/questions/26654031/calling-a-windows-calculator-in-a-gwt-web-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!