Instance
1. Prepare CS Project, Windows Forms application, drag in a Label control to accept BS parameters, and display, right-click Generate, copy the EXE under the bin directory of the file, for example, put in the following path, for example c:\\simu\\,
2, write Notepad Simu.reg, double-click to write to the registry
Windows Registry Editor Version 5.00
[Hkey_classes_root\simu]
"URL Protocol" = "C:\\simu\\simu.exe"
@= "Simuprotocol"
"URL Protocol" = "C:\\simu\\simu.exe"
[Hkey_classes_root\simu\defaulticon]
@= "c:\\simu\\simulink.exe,1"
[Hkey_classes_root\simu\shell]
[Hkey_classes_root\simu\shell\open]
[Hkey_classes_root\simu\shell\open\command]
@= "\" c:\\simu\\simu.exe\ "\"%1\ ""
3. VS New Project--Create an ASP. Web application, new Item Web Form
<a href= "Simu://hello" >SIMU</a>
Currently only the CS project can be started, and the transfer parameters are still being studied
BS Project start CS Project, and pass the parameter to CS show out