What are the best way to launch client exe?

浪子不回头ぞ 提交于 2019-12-12 05:27:51

问题


I am creating a web application which need to launch "NXClient" at client machine. So what are the best way to do it ?

Thanks


回答1:


This is not possible.

Instead, you can associate an extension with your program on the client, then serve a file with that extension, and the program will open it.




回答2:


Edited to remove a suggestion that works only in IE, and with annoying prompts at that...

To launch it without user interaction is, as @SLaks says, impossible from pure ASP.NET, and for good reason.

However, you can create an ActiveX control or browser add-on in another language, and have the user install it. However, by definition, that's not an ASP.NET solution, it's an ActiveX solution, or an add-on solution, etc.

Arguably, however, even such browser add-ons are a bad idea, and you need to be very careful not to do it in an insecure way, and should explicitly state what your add-on does.



来源:https://stackoverflow.com/questions/4547372/what-are-the-best-way-to-launch-client-exe

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