Transfer from http://blog.csdn.net/talking12391239/article/details/40712759
Pro-Test available
tencent://message/? Uin=000000&websitename=qzone.qq.com&menu=yes
Windows Registry Editor Version 5.00
[Hkey_classes_root\tencent\defaulticon]
@= "C:\\Program files\\tencent\\qq\\bin\\timwp.exe,1"
[Hkey_classes_root\tencent\shell\open]
First is the link, super simple <a href= "bbfexe://123456" > Calculator </a>
Windows Registry Editor Version 5.00
[Hkey_classes_root\bbfexe]
"URL Protocol" = "C:\\windows\\system32\\calc.exe"
@= "Tencentprotocol"
[Hkey_classes_root\bbfexe\defaulticon]
@= "c:\\windows\\system32\\calc.exe,1"
[Hkey_classes_root\bbfexe\shell]
[Hkey_classes_root\bbfexe\shell\open]
[Hkey_classes_root\bbfexe\shell\open\command]
@= "\" c:\\windows\\system32\\calc.exe\ "\"%1\ ""
WinForm in static void Main (string[] args)
Args is the passed argument%1.
Custom Browser protocol to implement Web program invoke local program