如何从网站在客户端上执行应用程序? [英] How to execute an application on the client from a website?

查看:24
本文介绍了如何从网站在客户端上执行应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在服务器上有一个 ASP.NET/C# 应用程序,我的问题是如何在访问网站的客户端(服务器上的应用程序)中运行另一个应用程序(.exe)

I have a application in ASP.NET / C# located on a server, my problem is how to run another application (.exe) but in the client that visit the website (the application on server)

问题

(client)------------(server)
run browser         website 
   and              (asp.net/c#)
**execute           instruction     
app.exe**           for execute app.exe 

我开发了 ext.net,一个使用 asp.net + c# 的软件,它是 powerbuilder 中旧软件的更新版本(v2 是新软件,v1 是 powerbuilder 软件).V2 没有 V1 包含的所有功能,所以在执行 V2 之后,我必须执行 V1.所以如果用户在浏览器上使用V2,我应该可以打开V1(V2位于服务器,V1安装在客户端.因为客户端打开浏览器连接到V2).

I developed ext.net, a soft using asp.net + c# which is an updated version of an old soft made in powerbuilder (v2 is the new soft, v1 is the powerbuilder one). V2 has not all the functionality included on V1, so after executing V2, I have to execute V1. so if the user is using V2 on the browser, I should be able to open V1 (V2 is located in a server, V1 installed in client. Since client opens browser to connect to V2).

*谷歌翻译

desarrollé un software en ext.net(asp+c#) el cual es una version actualizada de otro 软件前 hecho en PowerBuilder(los llamaré v2 y v1相关).Por razones de tiempo, el software V2 no tiene todas las funcionalidades de V1, por locual, al finalizar el procedimiento con V2 se debe abrir V1.Vale decir, estando en el browser usando V2 debiera poder abrir V1 (.exe)

desarrollé un software en ext.net(asp+c#) el cual es una version actualizada de otro software anterior hecho en PowerBuilder (los llamaré v2 y v1 respectivamente). Por razones de tiempo, el software V2 no tiene todas las funcionalidades de V1, por lo cual, al finalizar el procedimiento con V2 se debe abrir V1. Vale decir, estando en el browser usando V2 debiera poder abrir V1 (.exe)

推荐答案

申请的目的是什么,点击一次可能是解决方案.

What is the purpose of the application, click once may be a solution .

http://msdn.microsoft.com/en-us/library/t71a733d(v=vs.80).aspx

无法直接从浏览器执行代码并不是一件不幸的事情,它是一项出色的安全功能.

The fact you cannot execute code directly from a browser is no unfortunate thing, it is a wonderful security feature.

这篇关于如何从网站在客户端上执行应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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