I have a .NET application running on windows. I want clicking on some page element (button link flash app etc) to launch my app with some special parameters. (It should run not just in IE but on WebKit based windows browsers too) During App install we suppose that user is Admin and is running Vista or Windows 7 or Later.
So my question is – Where to get examples of such interaction (WITH source of course)?
So how to make WebKit based Browser or IE call your .Net application?
Register a custom URL Protocol Handler. Then you can specify the url using links, etc:
I can confirm that this works in all versions of Internet Explorer. I’ve also tested it in the latest versions of Firefox (3.6) and Chrome (whose version escapes me). Chrome will not allow you to enter a custom protocol into the address bar, but it will launch applications from links using custom protocols.
If you have Adobe Reader installed, the
acrobat://protocol is registered. Unfortunately, SO doesn’t allow links using custom protocols, so I can’t add an example here I’m afraid.