如何从Web浏览器启动.NET程序? [英] How to start up your .NET program from web browser?

查看:180
本文介绍了如何从Web浏览器启动.NET程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您是否可以提供JavaScript函数示例,以便从Web浏览器启动计算机上安装的应用程序(例如Google Chrome 4)。特别是如果.Net APPs有任何特殊的简化这个过程apis,有这些人员的libs,请与我们分享链接。

Could you provide example of JavaScript function for starting up application installed on your computer from a web browser (eg google chrome 4). It particular if .Net APPs have any special simplifying this process apis of out there are some libs for such staff, please share link with us.

所以如何在启动程序的运行中创建和存储一个小型本地服务器,它可以处理一些本地URL,如 http:// localhost / maAppServer / MyAppCalculator / Start 用于启动已在其配置文件中写入其安装名称和本地URL的应用程序?

so how to create and store in run on start up programs a small local server which would handel some local urls like http://localhost/maAppServer/MyAppCalculator/Start for starting apps that have written in its config file their names and local urls on install?

那么如何从网络浏览器启动C#.NET app \ program?

So how to start up your C# .NET app\program from web browser?

推荐答案

我认为在Chrome中不可能,在用户计算机上启动EXE可能会被视为安全违规。 Internet Explorer中的某些ActiveX和file://链接可能有效。此外,OneClick部署可能会执行类似于您的操作(不完全是我不认为,我相信它们需要一个可能不适用于Crhome的加载项) http://www.15seconds.com/issue/041229.htm

I don't believe its possible in Chrome, starting an EXE on a users computer could be considered a security violation. Some ActiveX, and file:// links in internet explorer may work. Also, OneClick deployment may do something similar to what you are after (not exactly though I don't think, and I believe they require an add-in which may not be available for Crhome) http://www.15seconds.com/issue/041229.htm

这篇关于如何从Web浏览器启动.NET程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆