Issues encountered by WPF WebBrowser

Source: Internet
Author: User

Before the problem: the registration of the Protocol in the Registry is to enter the MRP in the browser : (Note: The colon can be followed with the parameters will be discussed later) will open the defined MRP program. The key comes, this is the company has been so used, have encountered problems. And then... Boss, send me mrp://|{. qno<q000001>}/ is set in HTML <a> tags. Let me do a webbrowser program and then test whether the program can be opened.

After.... A little click did not respond, put a blog Park link to try it, no problem, click to enter the home page.

Start looking for information on the web, and then assume that WPF WebBrowser does not recognize the registry information, or what compatibility issues ... A whole lot of problems, looking for information, that tragedy.

After a period of time, to today, and looking for relevant information, and finally found that with mrp:// on the reaction, and then the back of the 1.1 points of the disassembly test, found that two slash behind the parameters are not reflected in the sign, found that the problem lies, this is a progress, haha. Thought to change the parameters, in the MRP program to receive the parameters of the method to change, can be used for so many years of code changes, there will be a lot of unknown bugs. Continue to test ... Continue to change ...

found that the MRP: The back of the two slashes removed to mrp:|{qno<q000001>}/ the reaction. It seems like a bit, but still wrong, why not add a slash? Special symbols? Coding problems?   Didn't find out why ... Finally, try the mrp:////|{. qno<q000001>}/ Four Slash, actually became. The program was opened successfully and the parameters were brought in.

Unfortunately, the Internet to find information or not find this is why ...

Issues encountered by WPF WebBrowser

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.