如何从网页启动Windows应用程序? [英] How can I launch a windows application from a webpage?

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

问题描述

我们拥有公司的Intranet,并且拥有一系列代表大多数销售代表使用的应用程序(Outlook,Excel和其他一些应用程序)的图标/链接会很好。

这个想法是,如果安装了该应用程序,则单击链接/图标将在客户端计算机上启动该应用程序。



任何人有这样的要求并成功实现了吗?



想要在我回头拒绝之前与所有人联系。预先感谢您的任何答复。

解决方案

使每个按钮成为下载给定应用程序的公司模板文件的链接。例如,将下载 Excel按钮,并提示用户使用Excel打开它。



例如,尝试单击此处的链接之一:



http://www.google.com/#sclient=psy&hl=zh-CN&q=template+filetype:xls



链接到静态文件只要您的服务器发送正确的MIME类型或内容类型,Web服务器上的内容就足够了。


We have a company intranet and the powers that be think it would be nice to have a collection of icons/links representing the applications that most reps use (Outlook, Excel, few other apps).

The idea would be that if the application is installed, clicking the link/icon would launch the application on the client machine.

Anyone ever had a requirement like that and been successful implementing it?

Wanted to reach out to everyone before I go back and say no. Thanks in advance for any replies.

解决方案

Make each button be a link to download a company template file for the given application. For example, the "Excel" button would download and the user should be prompted to open it with Excel.

For instance, try clicking one of the links here:

http://www.google.com/#sclient=psy&hl=en&q=template+filetype:xls

Linking to static files on the web server should be sufficient, so long as your server sends the correct MIME-Type or Content-Type.

这篇关于如何从网页启动Windows应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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