How to run an executable from a web page?

I mean, when a user clicks a button on a web page, a program that is already installed on his computer will be executed. I also need to pass some command line options to the program.


We have 2 programs, one is a web application, the other is a desktop program. We want to find a simple way to integrate 2. Therefore, we need to run the program on the desktop from a web page.

+2
source share
8 answers

You can register a protocol for your application in order to go to the URL starting with this scheme, launch your application and run the command.

+11

. , .

, - ? , , .

, - - - -?

+5

- MIME , . , . , , MIME.

+4

.

+3

, , , - ..,

+1

Internet Explorer, ActiveX.

+1

, , , Windows- IIS.
- (, Windows Communication Foundation) , , .
-.

+1
source

As already mentioned, since SP2, I believe this is not possible, because it is a huge security issue.

However, for our intranet, our company needed to create a list of links that ran all kinds of applications. I wrote an applet that processes these "special links" and allows you to run executable files or open folders, etc. Since all this is under our control, we are considering a security issue that can be ignored.

0
source

All Articles