My control is self-written. Now I need to make it into a. Cab package so that it can be automatically downloaded and registered on the client. I only know how to use the cabarc.exe tool. But I don't know how to write the INF file and how to add the certificate.
ActiveX release steps:
Create a PVK file [private key file]
Makecert-SK digitaltitan. PVK
Makecert-N Cn = Telstar
Create a CER file [company certificate]
Makecert-SK digitaltitan. PVK Telstar. Cer
Create SPC test software publisher Certif
Microsoft to decide to allow the com Working Group to increase the performance equivalent to vbx on the basis of automation. The result of this development process is the OCX control (a special automated DLL server), which uses COM technology to support all functions of the vbx control, it is also upgraded to a 32-bit control. Unfortunately, before OCX was available for popularization, the emergence of the
The person who uses Windows must not be unfamiliar with ActiveX control, which provides a call similar to DLL's dynamic-link library, but the only difference from a DLL is that ActiveX registration cannot be recognized and used by the system. So what happens when we get a message that ActiveX is not properly installed and cannot be used?
1. Regsvr32 Procedure Law
There is a regsvr32 under Windows system folder. EXE, which is the ActiveX registration and anti-registration tool that Windows itself
handle the perimeter single double quotes, the default value of access is surrounded by no single quotes, and some of the errors are set to null characters as '
is wrong for access, not equivalent to (') in SQL Server, which is automatically corrected by the importer
V1.05 found a lot of forums and the whole station database has been tested and successfully imported
Program generates a upsizing script from the Access2000 MDB database to SQL Server (table structure and data)
Include default, i
Tdclientui80.xco file in which the file is automatically loaded into the client's C:/Program Files/common files/mercury interactive/td2000_80 directory, and was born into a tdclientui80.ocx file.Note the suffix names for two of these files. The file suffix can be changed to OCX or Xco by changing the method.Since Mercury did not issue the official Chinese package, the third party's resource package was use
Call functions in Jscript in CPP
Calling Jscript functions in C ++ is very simple. Windows provides a msscript. ocx controls can be used to directly operate Jscript: execute a Jscript or call a specified function. I wrote a simple example:
L import msscript. ocx. The following command generates msscript. tli and msscript. tlh files in the project directory, which contain descriptions of all interfaces in ms
display layer project, WPF application cannot insert COM component itself. Therefore, you need to use Windows form to introduce ActiveX control.
4. Insert Shockwave Flash Object
Right-click the toolbox and choose "choose items..." to add COM components.
Tricky point:In COM component, a Macromedia Flash factory object is also linked to C:/Windows/system32/macromed/flash/flash9c. OCX, but do not select this component here. Otherwise, "failed to i
processed in the programThe message defined by ucallbackmessage. The long parameter lparam of the message contains the mouse message defined by Win32.The short parameter wparam indicates the icon identifier.The/tools/unsupprt/initray directory of the VB disc contains the initray project, which is generated after compilation.Systray. ocx control.Now we use the javasray. ocx control for tray programming.Firs
There are two ways to load VB
Program Enter the system process:
1. Use the pure API method. It is too troublesome to write it again next time ~~~
2. Use the control ntsvc. ocx to load
Now let's talk about how to use ntsvc. ocx
First, load the ntsvc. ocx component in the VB project and place the control in the form.
Set attributes of ntservice1:
Displayname (this
-in has been registered locally, ie will compare the version of the registered control with the version number specified in codebase. if the version number specified in codebase is greater than the version number of the registered plug-in, IE will still download the cab package from the specified location of codebase and re-register the plug-in.
As mentioned in the previous article, for ease of management, the version number of the ocx file to be re
port
A strange phenomenon occurs:Run a self-written program after startup. After sending the program, no data is received.However, you can use "Serial Port debugging assistant 2.0" to open the COM1 port. The message sending and receiving operations are normal!Run your own program again. Sending and receiving are normal!That is to say, when I start the system, I must first use "Serial Port debugging assistant 2.0" to communicate with the serial port before my program can communicate normally !
method.
1. Right-click the file and select Properties.
2. Click "unlock" in the general window and click "OK"
--------------------------------------------------------------------------------
Solution to garbled characters after the CHM document is opened
1. Modify ie --> View --> encoding to Chinese Simplified (gb2312) or other Chinese
2. Restart IE, drag the. CHM File into IE, and click open.
--------------------------------------------------------------------------------
After the CHM docum
user.exe, restartwindowsFunction: forcibly shut down all programs and restart the machine.Command: rundll32.exe user.exe, exitwindowsFunction: forcibly shut down all programs and shut down them.Command: rundll32.exe shell32.dll, control_rundll telephon. CPLFunction: displays the "dial property" option window.Command: rundll32.exe shell32.dll, control_rundll themes. CPLFunction: displays the desktop theme option panel...........There are a lot more. There are hundreds of parameters in the shell3
Run supervisor. exewith the administrator ID. Right-click cmd.exe and choose run as administrator.At present, there are two files with network disks to be registered, one DLL and one OCX.At the beginning, both files are copied to the c: \ windows \ system32 \ directory registration, but only the DLL file registration is successful. The following error occurs when the regsvr32 ocx file is registered.Failed to load module "% 1. \ N Ensure that the binar
Dsoframer is a plug-in provided by Microsoft for third-party playback and editing of office files. It has three files: axinterop. dsoframer. dll, InterOP. dsoframer. dll, and dsoframer. ocx.
Install dsoframer
1) Copy dsoframer. ocx to the windows \ syswow64 Directory, which is the directory where the 32-bit control is located, and the System32 directory is the directory where the 64-bit control is located;
When the program suddenly fails to run
Some programs will cancel registration of some controls during anti-installation, so that other programs that need these controls cannot run.
When you find that some programs suddenly fail to run, you can use lordpe or other tools on another computer that can run to view the controls that the program depends on, and then register these controls on the problematic computer, it should be enough.
For example, once my computer suddenly fails to open the CHM
interface exquisite controls (cracked version, with demo Source Code) are strongly recommended
Strongly recommended:. net interface exquisite controls (cracked version, with demo source code), with dozens of exquisite skin, so that you can easily create a beautiful interface similar to commercial software! Worktool.cn is strongly recommended !...Controls for setting hotkeys in VB: ccrphotkey (with source code)
Ccrphotkey is a third-party control that can easily implement the hotkey function...B
/html". The html page must be placed in this directory.○ 2 configure the path of the CGI external program: "ScriptAlias/cgi-bin/home/httpd/cgi-bin /".○ 3 configure the environment variable "SetEenv D_LIBRARY_PATH =/lib:/usr/local/lib:/usr/lib". The variable will be sent to the CGI script and SSI page, to ensure that the CGI program can correctly find the dependent database.Webpage compilation uses the combination of html and shtml. The html parsing speed is fast. shtml can embed an external CGI
extracted several methods to solve the failure of the IE JavaScript script from the internet. I will execute the code later than I can. The machine does not need to be restarted.
At the simplest level, register two script libraries (for example, the above page is completely corrupted ):
Regsvr32 jscript. dll
Regsvr32 VBScript. dll
If not, register a few more (including connection failure to open a new window ):
Regsvr32 shdocvw. dll
Regsvr32 oleaut32.dll
Regsvr32 actxprxy. dll
Regsvr32 mshtml.
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.