I.AboutActiveX
ActiveX is Microsoft's strategic object-orientedProgramThe name of technology and tool. The main technology is Component Object Model (COM ). When creating ActiveX programs, the main task is components, a program that can run freely in ActiveX networks. This component is the ActiveX near control. ActiveX is Microsoft's defense against sunmicrosystemsJavaThe function of this control is similar to that of Java applet.
II.ActiveX Development Environment
The FFMPEG-based
Recently, I browsed the csdn web page (not just csdn, but other websites may not find the rule), and roaming always unexpectedly popped up an error dialog box, A serious error has been blocked. The error address (fault address: xxxx: XXXX) is returned, and the error file is flash9e. OCX, and then Maxthon is disabled, which is annoying,
1. We suspect that flash plug-in flash9e.
OCX packaging cab and signing process1. Package the cab
When creating a cab file, you must include all the relevant files. You can use depends (included in VC) to check the required files. Use the INF file to write these items.1. Create an INF file
Default. inf
Generally, it is in the [version] area at the beginning:
Eg: [version]
Signature = "$ Chicago $"
Advancedinf = 2.0
Next is the most important [Add. Code] area:
Eg: [Add. Code]
Getcertocx.
The following uses the vs2008 development environment as an example:----------------------------------------------------------------------Step 1: Convert the COM interface to a. net interface
Before using mapwingis. ocx in the. NET language, you must convert the COM interface to the. NET interface,ProgramAccess the specific implementation functions in COM through the. NET interface.
Method (1) When mapwingis.
extension. ocx,. CPL, And. DRV are also DLL, although the file extension has changed.You can create a DLL for the following purposes:(1) divide programs into separate modules that can be loaded as needed.(2) store resources specific to languages or regions.(3) Enable your own applications to use the core code library.(4) generate a COM object or ActiveX Control (OCX) in the process ).(5) use the OLE object
How can this problem be solved?
Method 1:Register the following DLL files again. Click "start" and "run" on the desktop ":Regsvr32 shdocvw. dllRegsvr32 shell32.dll (note this command)Regsvr32 oleaut32.dllRegsvr32 actxprxy. dllRegsvr32 mshtml. dllRegsvr32 urlmon. dll
Note: you do not need to enter the second command. After these commands are entered, restart Windows. If the command is invalid, re-enter the second command.
Method 2:If an error occurs when you use the method to register reg
Error | loading | resolution
When browsing Web pages with IE, you often encounter flash9 plug-in loading errors. If you choose to continue, the CPU takes up to 90% or more seconds before the Web page shuts down automatically. If you turn off the Flash9.ocx, do not load, flash can not see.
How to solve?
Method One:Re-register the following DLL file, you point "start", "Run" on the desktop:regsvr32 Shdocvw.d
Register ocxname. ocxExample:Regsvr32 netshare. ocx // register the netshare. ocx control.Regsvr32/u netshare. ocx // unregister the netshare. ocx controlIf the netshare. ocx file is not in the system directory, you must add the complete path before the file name. In additio
is loaded during runtime, the executable module uses the loadlibrary function or the LoadLibraryEx function. The executable module calls the getprocaddress function to obtain the address of the exported DLL function. When linking, Windows searches for a pre-installed DLL group, such as the performance library (kernel32.dll) and Security Library (user32.dll ). Windows then searches for DLL in the following order:1. The directory where the executable program of the current process is located.2. C
VC ++ OCX control registration
Method 1: Run regsvr32 ocxname. ocx in DOS or Windows Command LineExample:Regsvr32 netshare. ocx // register the netshare. ocx control.Regsvr32/u netshare. ocx // unregister the netshare. ocx
JS Event Response example for implementing the OCX control
JS supports events of the OCX control. When an event defined by the OCX control occurs, JS can capture the event and process the event accordingly.
In my personal understanding, it is actually who will complete the event response. The OCX control itself can cer
#-*-Coding:utf-8-*-scite Eliminate garbled settings: file-, code-, with BOM utf-8# strange garbled! "" Purpose: 1. Encapsulate Excel with too few OCX! Easy to use and less! (Note!!! Iweboffice2006.ocx related to copyright! Here Iweboffice2006.ocx only do study, research, exchange with! If you want to use the purchase of genuine! ) 2. There are too few examples
Citation: Baidu Http://hi.baidu.com/yanzuoguang/blog/item/fe11974edf52873aaec3ab42.htmlWhat is the purpose of the ActiveX control? In the Web page and how to use the OCX control, such as QQ mailbox large file upload should be the use of OCX control, let's start.0. PrefaceAn ActiveX control, formerly known as an OLE control or OCX control, is a software component
Component ' msinet. OCX ' ERROR What does it mean? Sometimes we run the software with an error message:
' Msinet. OCX ' or not correctly registered:a the file is missing or invalid
Or is:
Component ' msinet. OCX ' or one of its dependencies not correctly registered:a the file is missing or invalid
The error message means ' msinet ' in the system compon
I. Introduction to the Application of ActiveX:ActiveX controls, which are commonly called OCX controls, are part of ActiveX technology. ActiveX is a Component Object model COM-based technology introduced by Microsoft, including a series of extensions and enhancements to the Windows 32-bit Application programming interface (Win32 API) and Component Object model, with the goal of integrating the computer desktop environment with the Internet environment
Step 1:
Anyone who has used ActiveX knows that ActiveX cannot be recognized and used by the system if it is not registered. Generally, the installer automatically registers the ActiveX control it uses, but what if you need to manually register a widget? If you modify the registration table, it will be too annoying. There is a regsvr32.exe program under the systemfile folder of windows, which is the built-in ActiveX registration and anti-registration tool for Windows. Its usage is:Regsver32
Regsv
Step 1:
Anyone who has used ActiveX knows that ActiveX cannot be recognized and used by the system if it is not registered. Generally, the installer automatically registers the ActiveX control it uses, but what if you need to manually register a widget? If you modify the registration table, it will be too annoying. There is a regsvr32.exe program under the systemfile folder of windows, which is the built-in ActiveX registration and anti-registration tool for Windows. Its usage is:Regsver32
Regsv
addition to downloadingOCXfile, download the appropriateMFC DLLs, download a large quantity, then the relevant files can be packaged in the server to the client self-extracting installationCABfile. After the modifiedHTMLThe code snippet is as follows:align= "CENTER" classid= "CLSID:7bca18c6-2178-11d2-87c1- 00A024D948FB "Width= "height=" id= "marquee"Codebase= "http://218.168.188.188/scadaweb/Wclnt.cab#version=1,0,0,1 "> EMBED align= "CENTER" classid= "Clsid:7bca18c6- 2178-11d2- 87c1-00a024d
A question:Recently there is a job to integrate a set of old fingerprint attendance machine to the present attendance System (Web system), the problem occurs when the old machine only OCX available, no DLL available; originally thought the simple third party call is OK, but OCX can not be carried, in the implementation of the laborious.B Analysis:1, the original developer, to provide a set of directly calle
Because the OCX control is used in development, if no corresponding ocx file exists on the target machine, it will cause the applicationProgramUnable to run normally, I took a detour when registering the OCX control with installshield2009. I first used the INF file and wrote the rundll32 + inf file name in installscript. In this way, the
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.