the creation. You can customize the features of a widget based on actual application requirements.
Assume that the project name is test. After the creation is complete, open the workspace file test. DSW and you can see the test control framework generated by the system. The main classes and implementation functions are described in the following table:
Basic class implementation function of a derived class
Ctestapp colecontrolmodule control instance initialization and Revocation
Create, update,
(), printsetspacing (), and print. We recommend that you first find out their usage.Easy to implement.// How to print the barcodeOperating System: win98Programming tools: PB6.5Q: Ask the Instructor How to print the barcode in PB and how to drive the barcode printer. Please!Answer:If Office2000 is installed, go to its Program FilesMicrosoft OfficeOfficeMsbcode9.ocx and Msbcode9.hlpBar code control.Li Hai Note: if the control cannot be found in the dir
Windows Media Unicast service.Windows Media station control:Control settings, monitoring, and management of the properties of the Windows Media multicast service.Windows Media Service authorization API:Com compatible API, used to develop authorizedProgramPackage.Windows Media Service Event Notification and authorization API:Com-compatible APIs, used to develop programs authorized to the server.Windows Media File Transfer control:An ActiveX Control for receiving multicast files.
2.1 Windows Med
A. Uninstall the WScript. Shell and Shell. application Components and save the following code as A. BAT file for execution (2000 and 2003 systems)
Windows2000.bat regsvr32/u C: \ WINNT \ System32 \ wshom. ocx del C: \ WINNT \ System32 \ wshom. ocx regsvr32/u C: \ WINNT \ system32 \ shell32.dll del C: \ WINNT \ system32 \ shell32.dll
Windows2003.bat regsvr32/u C: \ WINDOWS \ System32 \ wshom.
Security Settings for WindowsServer2003 + IIS6.0 + ASP servers-component Security Settings A. Uninstall WScript. shell and Shell. application Component, save the following code as. BAT file execution (in 2000 and 2003 systems) windows2000.bat
Copy codeThe Code is as follows: regsvr32/u C:/WINNT/System32/wshom. ocx
Del C:/WINNT/System32/wshom. ocx
Regsvr32/u C:/WINNT/system32/shell32.dll
Del C:/WINNT/system3
This function has been studied for a long time. It is easy to use ActiveX plug-ins written in C #. The server can also directly write data to folders, however, the client must install the framework, which is unrealistic for the customer.
Later, I studied how to use C ++ to implement ActiveX, upload post files to the server URL, and then accept post files. I was not familiar with C ++ for a long time, maybe I still don't use C ++, but Google and Baidu haven't found the correct solution.
Finally,
About the electronic signature of an active controlTwo kinds of scenarios: one is to make a certificate, the client can identify the control after installing the certificate, the second is to buy the official, in the country to find the agent VeriSign, responsible for a variety of electronic signatures, any browser can recognize the certificate. Official website of the company: http://www.verisign.com/products-services/security-services/code-signing/digital-ids-code-signing/index.htmlDo not have
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 !
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.