How to run a executable file from a web page?

前端 未结 8 2136
暗喜
暗喜 2021-01-03 14:47

What I mean is, when user click a button on a webpage, a program which has already installed on his computer would be executed. I also need to pass some command line para

8条回答
  •  借酒劲吻你
    2021-01-03 15:17

    This method should probably work if you are running on Windows machine that has IIS.
    Set up a Web Service (for example using Windows Communication Foundation) on the local machine that exposes a method that runs local applications.
    Call that method from the webpage.

提交回复
热议问题