Create a fully trusted infopath form

Source: Internet
Author: User

Turn: http://www.cnblogs.com/andrewma/archive/2005/02/25/109138.html

There are two ways to create a fully trusted infopath form: regform and digital signature.
Use the built-in command line tool regform of infopath
Eg:
Regform/uURN: myform: mycompany/T Yes/MsiC: \ myforms \ mytrustedform. xsn
Parameter U: the urn name must be unique and smaller than 255 characters
T: whether to increase full trust
Msi: generate an MSI Installation File (Microsoft Visual Studio. NET tools are required)
Without the Microsoft Visual Studio. NET tool, it generates a JS Installation File Using infopath.ExternalapplicationObjectRegistersolutionMethod Creation
Eg:
Objipextapp = new activexobject ("infopath. externalapplication ");
Objipextapp. registersolution ("C: \ myforms \ mytrustedform. xsn");
Objipextapp. Quit ();
Objipextapp = NULL;
Note: The path must be an absolute path.

Revoke full trust:
For MSI installation, Run "Remove ".
If it is JS, use unregistersolution to replace the above registersolution Method

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.