How to solve?
Method One:Re-register the following DLL file, you point "start", "Run" on the desktop:
regsvr32 Shdocvw.dll
regsvr32 Shell32.dll (Note this command)
regsvr32 Oleaut32.dll
regsvr32 Actxprxy.dll
regsvr32 Mshtml.dll
regsvr32 Urlmon.dll
Note: The second command does not have to lose, you can restart Windows after you finish the command, and then re-enter the second command if it is found to be invalid.
Method Two:It is also invalid if a method is used to re-register regsvr32 Olea
The client is not really useful, because such OCX to run, you must have digital signature, but also need to agree to install, or you will be prompted every time, what is not safe and so on.
Create an ActiveX control in VB and select the ActiveX Control Interface Wizard in the Add-in menu (if not, add one to the Add-in manager)
You can define the method you want here, the property, the event, and if you want to invoke the client Script, map to the mem
It is worth noting that this problem is encountered during the development of OCX controls.
The debug version of the program can be compiled to run normally, but the release version when the registration failed, prompted not to find the module, using Depends view,
Missing libraries such as Avcodec-54.dll, which are used in ffmpeg, are already in the program directory, and debug compiled programs can correctly
Identify these libraries and register t
1. Open vc6.0, create a project, and select "MFC ActiveX controlwizard". The default setting is as follows;
2. on the classview, you can see that there are mainly ** app \ ** CTRL \ ** progpage classes, and the interfaces are mainly implemented in ** ctrl, you can use the automation page of MFC classwizard (CTRL + W) to create interface functions;
3. The interface function is external, so pay attention to the parameter type definition. I generally use the lpctstr character, as shown in the f
Use \ windows \ system32 \ iexpress.exe.
1) Select "create new self extraction directive file" and click Next.
2) Select "create compressed files only (ActiveX instils)" and click Next.
3) Click Add, add the file (pcpos. ocx, pcpos. dll, Comm. dll, tcpclnt. dll), and click Next.
4) Click Browse and enter the storage address of the. cab file (including the obtained file name). Here testcab. Cab is selected and "store files using long file name in
__________________________________________________________Problem: The system popup prompts "missing Mswinsck.ocx", "No Mswinsck.ocx found" and so on.As shown in the following:Workaround:1, download Mswinsck.ocx.2, copy the file "Mswinsck.ocx" to the system directory.3, the system directory is generally: C:\WINNT\System32. 64-bit system for C:\Windows\SysWOW644. Finally click Start Menu--run--Enter regsvr32 mswinsck.ocx, enter to resolve the error prompt!mswinsck.ocx: http://download.csdn.net/de
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
1. Install mscommsetup .exe on the local machine to register the MSCOMM32.OCX control locally.
2. After registration
Run the following code to test JSP:
When the JS bullet box is 3, it indicates that the control is successfully loaded and the program can send data to the port.
1. First of all, press the Win7 flagship computer keyboard win+r shortcut keys to open the computer's running window, in the Open Run window, we enter CMD and click Enter, so that we can open the Command Prompt window of the Win7 flagship computer, and of course you can simply click to open the Start menu, Enter CMD directly in the search window below, which can also be clicked into the command Prompt window.
2. In the Open Command Prompt window, we just need to enter regsvr32 xx.ocx and cl
In actual enterprise applications, it is easy to handle complicated reports. Because reports are generally relatively complex, it is inconvenient to use common forms + fields, how can we make it easier?
We know that report data is usually
1. Set the initial widget size.
First, we need to set the initial size of the control to its static size using the COleControl::SetInitialSize method. This should be done in your control's constructor like this://////////////////////////////////////
This is my previous sectionCode.
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1 Procedure Tform1.button1click (Sender: tobject ); 2 VaR 3 Ocxhand: thandle; 4 Regfunc:
Custom messages cannot be defined in ATL as in MFC, because there is no concept of MSG map in standard ATL, and if you are doing ActiveX, you can msg to window,
ATL provides macros of the BEGIN_MESSAGE_MAP category:
First, define the message ID:
1.download and install gs705w32.exe
You can also download and install ghostscript7.07, but pb9 does not support gs8.0 and later versions!
2. For powerbuilder9.0
Add in system environment variable path
The default installation path of gs705w3
The original Article is published in [http://community.csdn.net/expert/Topicview2.asp? Id = 3072485]
Question about ActiveX controls in the tape window: How do I get the Enter key?
Problem:
Create an MFC ActiveX project, add a dialog box
Add # pragma once in the next line of the xxxctrl. H (XXX is the project name) header file
// ------- Add ---------------// Cancel IE Security Prompt# Include "objsafe. H"// --------- Add ----------------------------
And declare part of the
You cannot define custom messages in ATL, as in MFC, because the concept of MSG map is not in standard ATL, and if you are doing ActiveX, you can give msg to Windows.
ATL provides begin_message_map a class of macros:
First, define the message ID:
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.