Thomas Tingsted Mathiesen HTML link to custom application
By Thomas Tingsted Mathiesen (tma@tma.dk)
My Linked-In profile
My company - Gaudio ApS
My FaceBook profile
Last changes made: 27 FEB 2010

This guide will show you how to enable a browser link that starts your custom application.
I needed this functionality to enable my users to start a windows application I buildt from a browser or email.

Example:
When a user clicks the link <a href="applink://documentid=3343">Open document<a/>
I what to open my application with the parameter: documentid=3343
Similar to executing: C:\Program Files (x86)\Gaudio\Gaudio Impuls\impuls.exe document=3343

How to do it:
All you have to do is make a few registry keys, and you are good to go.

Parameters
Name of the link applink
Application location C:\Program Files (x86)\Gaudio\Gaudio Impuls\impuls.exe

Create the following registry keys
HKEY_CLASSES_ROOT\applink
HKEY_CLASSES_ROOT\applink\DefaultIcon
HKEY_CLASSES_ROOT\applink\shell
HKEY_CLASSES_ROOT\applink\shell\open
HKEY_CLASSES_ROOT\applink\shell\open\command

Create the following registry values
Key Name Type Data
HKEY_CLASSES_ROOT\applink URL Protocol REG_SZ
HKEY_CLASSES_ROOT\applink\shell\open\command (default) REG_SZ C:\PROGRA~2\Gaudio\GAUDIO~1\impuls.exe "%1"

Screendumps
Registry screendump

Registry screendump



Rate the content
Print
How would you rate the quality of this content?

1 2 3 4 5 6 7 8 9
Bad  Superb
Rating   

Give your feedback here.(Tags, links etc. not allowed!)

Your Name:  (optional)
Your homepage: http:// (optional)
 (Type the numbers)


(You can safely type @ signs, they will be replaced with an image for anti-spam purposes)

Date Name Rate Message Homepage