Because my web project has the report function, but it is not ideal to print the output of the Web report, so I want to do this report function as a plug-in.
However, I do not know how to implement C # browser plug-ins because of my limited technical skills,
So I want to make a local application.Program(Fsprint.exe), then start the browser and pass it to my fsprint.exe
The following are the implementation methods:
1. Create a Windows application fsprint and complete the report function.
2: Create a Windows Installation Project
3: configure the installation project properly. Then, right-click "install project home directory" and choose "View"> "Registry". Then, add the following items and values according to the style.
Enter <a href = "fsprint: 123456"> enable the print function </A> in the web project to start fsprint.exe when you click this link on the front page.
Note:
Used in applications
String comstring = system. environment. CommandLine. tostring ();
To obtain the passed parameter "123456"