Add the web call local application function for project Installation

Source: Internet
Author: User

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"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.