I have created a protocol that I want to use to open an EXE (created in Visual Studio using c#) via an html link in a webpage.
The expected result was that clicking on the link, the application would open. This does work for Firefox (and I can see the protocol listed in the Firefox protocol list) but does not work for Internet Explorer (and is not in the Windows protocol/associations list.
The registry keys are as follows:
Windows Registry Editor Version 5.00
@="\"C:\\Users\\user\\Documents\\Visual Studio 2010\\Projects\\Label Printer\\Label Printer\\bin\\Debug\\Label Printer.exe\" %1"
When I click on the HTML link (example below), in Firefox I get a popup message asking if I want to open the link in the specified application. On clicking OK, the application opens. Internet Explorer simply displays the "Cannot display the webpage" screen.
<a href="CDL:OPENFORM?data=Name|Address 1|Address 2|Town|AB12 3CD">Launch</a>
At the moment, I really can't see why this doesn't work - the lack of association in the Windows associations list is pretty key, but my registry key is not really any different from the Skype one I also have which does work in both IE and Firefox.
Thanks for the help!