Quote the OCX control of VB6 in HTM

zhaozj2021-02-12  139

VB6 can easily write OCX controls and DLL components. It is easy to use the DLL component in the website. It is very simple to use the server.createObject in ASP ("Engineen Name. Component Name") can call the component on the server. OCX uses more complicated because you need to download to the client, the following is my experience:

OCX packages into an Internet package: Wall package: Menu "Add" - "" External Program Manager "-" Enables Package and Expand Wizard "to start package: Menu" Add "-" Package and Expand Wizard "packaged Internet Package: Select "Package" and select "Internet Software Pack" when selecting a package type. ...

Use an OCX package in HTM: After packing the Internet package, there is an HTM file that is the same as the control with the control in the directory where the CAB package is located. The file exists in the ClassID of the control. Use this ID to reference the packaged OCX in HTM. The control. As follows: classid = "CLSID: 1046B4E3-C676-45E5-9BF9-434D393399E6" CodeBase = "UpdownText.cab # version = 1, 0, 0, 0">

Software Security - Excerpt from the network through Microsoft Verification Code Tool, you can sign the ActiveX control, telling users that you are indeed the author of the control and don't have someone to tamper with this control; in order to sign the component with the verification code tool, you must sign the component from the certificate Authorization agencies get a digital certificate; certificate contains information that indicates that a particular software program is genuine, ensuring that other programs cannot use the identity of the original program. The certificate also recorded the issuance date. When you try to download the software, Internet Explorer will verify the information in the certificate, as well as before the date of the certificate is deadline. If this information is not the latest and valid when downloading, Internet Explorer will display a warning; in the IE default security level, the user can choose the degree of trust to the software publisher and the software itself according to its own degree of trust and software itself. Whether to continue to install and run this software. The network real name plugin uses the digital certificate issued by international authoritative security vendor VeriSign, so it can ensure the authenticity and security of the network real name plugin.

转载请注明原文地址:https://www.9cbs.com/read-7365.html

New Post(0)