c# - How to start up your .NET program from web browser? - Stack Overflow

Could you provide example of JavaScript function for starting up application installed on your puter fr

Could you provide example of JavaScript function for starting up application installed on your puter from a web browser (eg google chrome 4). It particular if .Net APPs have any special simplifying this process apis of out there are some libs for such staff, please share link with us.

so how to create and store in run on start up programs a small local server which would handel some local urls like http://localhost/maAppServer/MyAppCalculator/Start for starting apps that have written in its config file their names and local urls on install?

So how to start up your C# .NET app\program from web browser?

Could you provide example of JavaScript function for starting up application installed on your puter from a web browser (eg google chrome 4). It particular if .Net APPs have any special simplifying this process apis of out there are some libs for such staff, please share link with us.

so how to create and store in run on start up programs a small local server which would handel some local urls like http://localhost/maAppServer/MyAppCalculator/Start for starting apps that have written in its config file their names and local urls on install?

So how to start up your C# .NET app\program from web browser?

Share Improve this question edited Jun 5, 2010 at 17:54 John Saunders 162k26 gold badges252 silver badges402 bronze badges asked Jun 5, 2010 at 16:40 RellaRella 67.1k112 gold badges374 silver badges642 bronze badges
Add a ment  | 

2 Answers 2

Reset to default 8

I don't believe its possible in Chrome, starting an EXE on a users puter could be considered a security violation. Some ActiveX, and file:// links in internet explorer may work. Also, OneClick deployment may do something similar to what you are after (not exactly though I don't think, and I believe they require an add-in which may not be available for Crhome) http://www.15seconds./issue/041229.htm

I'm not sure what you're asking for. You can start an application on your puter just by linking to it in the HTML page. However, if you need to pass data to it, then it's a different matter altogether, although it's still simple.

An example is what www.nexon. does with it's MMORPG, MapleStory. You log on to the website, and the web page starts the game after the authentication. Another example would be the magnet links on file-sharing sites.

You need to create a protocol handler, it can be in any language like C++/C# and register it on the client's puter. Like so - http://msdn.microsoft./en-us/library/aa767914(VS.85).aspx

Then, just use the protocol you built to pass on whatever data necessary. You can add a link that can be clicked, a button, Response.Redirect() from the server, whatever you like.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744364542a4570635.html

相关推荐

  • c# - How to start up your .NET program from web browser? - Stack Overflow

    Could you provide example of JavaScript function for starting up application installed on your puter fr

    7天前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信