The following error occurs when COM component is not registered and C # script calculation is used:
The COM Object of the "msscriptcontrol. scriptcontrolclass" type cannot be forcibly converted to the interface type "msscriptcontrol. iscriptcontrol ". This operation fails because the following error occurs when QueryInterface is called for the COM component of the interface whose IID is {0e59f1d3-1fbe-11d0-8ff2-00a0d10038bc}: An error occurred while loading the Type Library/DLL. (Exception from
JS Call OCX Control:
A. Register OCX control, regsvr32% control path%\ name. ocx
B. If the registration is successful, you can find the registered control name in the registration table.
C. Open Registry Editor, there is an edit in the menu bar and then choose to find the input control name, you can find the control,
and assign an object CLASSID, or you can find
To the users of cool dog software to detailed analysis to share the cool dog Remove OCX file method.
Tutorial Sharing:
If Kugoo is installed in the default directory, make sure that the computer does not have any windows open: Please type regsvr32 "c:\program Files\kugoo3\kugoo3downxcontrol.ocx" in the start--> run Then you can delete it casually.
Well, the above information is small weave to the cool dog of this software users bring
First, OCX control development
1, using the IDE version: VS2010
2. Develop OCX control based on MFC technology.
3. Basic OCX Development process
3.1, open vs 2010 New project, select MFC Template, "MFC ActiveX Control" "Visual C + + project", enter the name, all the way to the default.
3.2, the next face how to add OCX
Get the DOM object in the webpage when OCX is initialized, and ocx initializes the dom object.
During OCX initialization, SetClientSite is called and the IOleClientSite object is passed in.
1 CComQIPtr
Based on the IOleClientSite object, we can get the IOleControlSite object, and then get the DOM object of OCX in t
Release date: 2013-03-20Updated on: 2013-03-21
Affected Systems:Easewe ftp ocx ActiveX Control 4.6.02Description:--------------------------------------------------------------------------------Bugtraq id: 58622Easewe ftp ocx is an easy-to-use ftp activex component that supports all standard ftp functions.Easewe ftp ocx 4.6.02 has multiple Insecure Methods in the
Recently working on a WEB project. You need to call OCX to connect the card Reader. Didn't want to use OCX technology. Because the ActiveX technology is produced by microsoft. This causes the entire system to use only IE browser (other browsers can support OCX calls via plugins). But trying a very many method calls client DLL discovery is not going to make Sense.
Message = "You cannot forcibly convert a COM Object of the type" msscriptcontrol. scriptcontrolclass "to the interface type" msscriptcontrol. iscriptcontrol ". The reason for this operation failure is that calling QueryInterface for the COM component of the interface whose IID is {0e59f1d3-1fbe-11d0-8ff2-00a0d10038bc} fails due to the following error: the library is not registered. (The exception is from hresult: 0x8002801d (type_e_libnotregistered )). "
Solution:
1. Run-regsvr32
Recently in a WEB project, you need to call OCX to connect the card reader. Originally do not want to use OCX technology, because the ActiveX technology is produced by Microsoft, so that the entire system can only use IE browser (other browsers can be in the form of plug-ins to support OCX calls). But trying a lot of ways to invoke client DLL discovery is not goi
JS Support OCX Control Events (event), when the OCX control defined event occurs, JS can catch the event and the event to handle the corresponding.
Personal understanding, is actually the response of the event by WHO to complete, OCX control itself is certainly achievable, JS provides this mechanism so that JS can also complete
JS Support OCX Control Events (event), when the OCX control defined event occurs, JS can catch the event and the event to handle the corresponding.
Personal understanding, is actually the response of the event by WHO to complete, OCX control itself is certainly achievable, JS provides this mechanism so that JS can also complete
the difference between the 1.exe,ocx,dll
Analysis: EXE is an executable program, and OCX as a window control (the control is OCX, such as button), DLL is a function, variables, classes packaged in the library
OCX form is as follows:
Each of the diagrams is an OCX control (I
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
This thing I have wanted to write before, but after I write "Make OCX", "MFC Application OCX", the HTML call OCX has been unsuccessful, for a long time, are almost giving up. Yesterday, the leader needed my side. A function that launches an external application through a browser is limited to the company's ignorance of the OC
In the process of writing a program, we often have some good controls, want to use their own programs, then first know how to register OCX control, the following formula control as an example to explain:
Registering the Formula one component on the target machine
To implement registration in programming, the code is as follows:
1 define functions in the local external function:
Function long DllRegisterServer () Library "Vcf15.
ActiveX and OLE are com-based applications whose file suffixes generally end with DLL and OCX. ocx, as a special DLL file, has a certain user interface and Event Response, the DLL file is only a collection of methods and properties.
1. Introduction to DLL
DLL, dynamic link library, or dynamic link library is a set of modules that contain functions and data and can be used by other applications.ProgramSh
its registration function (DllRegisterServer, DllUnregisterServer) directly in the memory address.The programming method is:1. Use Windows API function LoadLibrary to load ActiveX controls;2. Use the GetProcAddress function to get the registration function DllRegisterServer (logoff function is DllUnregisterServer) pointer in the ActiveX control;3. Use the CallWindowProc function to execute an ActiveX control registration function (DllRegisterServer, DllUnregisterServer) loaded into memory.Examp
The biggest difference between ActiveX Control and window (2 k, XP) in Windows is to compile OCX of two versions and install one on Windows, in this way, you can use the OCX for programming in the EVC environment, and install it on WinCE to use the ocx program for calling.
A simple OCX test is made here, which can be
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 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.