An OCX control referencing VB6 in HTM

Source: Internet
Author: User
Tags pack
Control VB6 can easily write OCX control and DLL components, to use the use of DLL components in the Web site is very simple, directly in the ASP using Server.CreateObject ("project name. Component Name") can be called on the server side of the component. OCX use is because of the need to download to the client and become more complex, here are some of my experience:

OCX packaged as an Internet package:
Shipment Packaging Program: Menu "Add-Ins"-"Add-Ins Manager"-"Enable the Package and expand Wizard"
Start Packing: Menu "Add-Ins"-"packaging and expanding Wizards"
Package as an Internet pack: Select "Pack and Go" and choose "Internet Package" when choosing a package type ....

To use the OCX package in HTM:
After the Internet package is packaged in OCX, an HTM file with the same name as the control exists in the directory where the CAB package resides, with the classid of the control, which can be used to reference the packaged OCX control in HTM. As follows:
Classid= "Clsid:1046b4e3-c676-45e5-9bf9-434d393399e6"
codebase= "updowntext.cab#version=1,0,0,0" >



Software Security--excerpt from Network
The Microsoft Validation Code tool allows you to sign ActiveX controls, which tells the user that you are the author of the control and that no one else has tampered with it;
To sign a component with the Validation code tool, you must obtain a digital certificate from the certificate authority; The certificate contains information that indicates that a particular software program is genuine, which ensures that other programs can no longer use the identity of the original program. The certificate also records the issue date. When you try to download the software, Internet Explorer verifies the information in the certificate and whether the current date is before the certificate's due date. If the information is not current and valid at download time, Internet Explorer will display a warning;
In the IE default security level, before an ActiveX control is installed, users can choose whether to continue installing and running the software based on their trust in the software publisher and the software itself.
The network real-name plugin uses the international authoritative security manufacturer VeriSign to issue the digital certificate to carry on the signature, therefore may guarantee the network real names plug-in's authenticity and the security.



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.