How to automatically download active controls for web projects

Source: Internet
Author: User

Our B/s engineering business needs to provide the customer IE with active controls, but each of the controls needs to be installed on each machine. If the controls are manually upgraded, it will be very troublesome, therefore, you need to put the control in the web project. If the user client does not install the control or the control version is low, the new control will be automatically downloaded and installed.
First, you need to create an INF file for the control, and then compress the control with the INF file into a cab package and put it in the web project (the cab package is prepared by a VC colleague ), then, modify all the JSP pages of the control to be called and change the part of the control

<Object ID = "formx" classid = "CLSID: E5022E7E-758C-4A32-99C6-55742289301D" Height = "90%" width = "100%" <br/> codebase = "CAB/koalform. cab # version =, "viewastext> </Object>
CAB/koalform. Cab indicates the path of the cab package,
Version =, indicates the version number of the control,
If the control is not installed, or the version of the control is earlier than this, the control is automatically downloaded for installation.

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.