How can I get a program on a client machine to run from an ASP.NET page?

后端 未结 4 1597
北恋
北恋 2020-12-31 23:03

I have an app that I\'m trying to run on an intranet. On my machine it worked great (famous last words) but when I put it up to the server, it didn\'t work. As soon as I saw

4条回答
  •  难免孤独
    2020-12-31 23:40

    There are a couple of ways to do this. One doesn't violate security (much).

    You can download a file with a particular file type. That file type can be associated to the client program, so after clicking "ok" to download the file, the client program would launch. The downloaded file may or may not contain some data like the id of some object.

    The alternative would be to resort to ActiveX, which does have security implications.

提交回复
热议问题