Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
135 views
in Technique[技术] by (71.8m points)

c# - How to execute an application on the client from a website?

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)

question

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

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).

*translated with google

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)

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

It is, unfortunately, not possible due to security reasons. Had it been possible, hackers could have created havoc on client machines. However, you may be able to, may be, on older IE version using ActiveX. This may require lowering the security setting to bare minimum. Here's the link any way:

http://www.governmentsecurity.org/forum/index.php?showtopic=23488


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...