This article describes the complete process of developing an ActiveX control using ATL.
1. Create a project
Click "new project…" on the start page ...", Select the "ATL Project" project under the "ATL" category. The project name is "Calculator ". In the Project Wizard that appears later, use the default configuration.
2. Add controls
Right-click the project in solution manager, select "add" and "class", and select the ATL control type under the ATL
4. Insert Shockwave Flash Object
Right-click the Toolbox and Choose "Choose Items..." to add COM Components.
Tricky Point: A Macromedia Flash Factory Object in COM Component is also linked to C: \ Windows \ System32 \ Macromed \ Flash \ Flash9c. ocx, but do not select this Component here. Otherwise, "Failed to import the ActiveX control" may appear. You can use regsvr32.exe Flash9c. ocx registers Flash9c in the command line. ocx control. The following
[Background]
Anyone who has done ActiveX Control knows that if you want to use the ActiveX control function on your webpage, you must register it locally on the client, that is to say, the user must first put the ActiveX control (test. OCX) Put it under % System %/system32 on the local machine, and then run regsvr32 test in the DOS tool. OCX command for regis
Speaking of ActiveX, my first instinct is flash, using ActiveX, we can create rich, interactive applications. At the same time, using ActiveX features, we can achieve a seamless connection between JS and ActiveX (including data sharing, and interface calls), with the help of Active
---restore content starts---I. ActiveX and its related concepts(Component object model, Object component model), DCOM (Distributed COM, distributed object Component model), CORBA (Common object Request Broker Architecture, public Object Request Broker architecture), Dynamic Data Exchange (Exchange,dde), which solves the data update, but the data format is still a problem; objects are linked and embedded (object linking and Embedded,ole), Data exchange
C # reference for ActiveX control development:
Http://www.cnblogs.com/zhf/archive/2009/03/02/1401299.html
Http://www.cnblogs.com/homer/archive/2005/01/08/88780.html
C # For details about ActiveX development, see the above two articles.
1. to implement a script to call the ActiveX method, you must define the method into an interface (this interface uses a unique
There was a question in the crowd today. Always prompt for runtime error when installing software 429,activex part cannot create object hint: "Run-time error ' 429 ': here simply tidy up, easy to need friend
There are some solutions to this problem on the Internet, there are many different versions: 1, start running input regsvr32 scrrun.dll on it 2, others say: Runtime error 429,activex part cannot c
Failure phenomenon:
The Flash plugin on the computer unexpectedly did not have, casually opens a webpage all prompts to install the Flash plug-in, installs also appears "Installs encounters the error: cannot register the Flash Player's ActiveX control" such error information
An ActiveX control is a graphical object that allows you to control a set of predefined events. such as a command button
Call ActiveX control? Well, it's really not an easy thing to do: with a variety of packaging sophisticated framework (MFC, VCL, etc.), the final product of the volume of EXE will inevitably be large; with the SDK although it can effectively reduce the volume, but often do not know--in short, this seems to be a fish and bear's paw can not be a pity. Fortunately, "not easy" does not mean "impossible", Li Ma in this article to introduce to you, is a "pla
Author: scholar
When you use ASP to write server-side applications, you must rely on ActiveX
Component to powerful Web
The functions of the application, such as: you need to connect the database, online operation of the database, etc., this article from the beginning will be introduced to you
How ASP ActiveX components are used.
From today onwards we will formally learn the essence of ASP--
The development of DirectX games is usually based on sdks or MFC. Everyone must have a lot of knowledge about the development of the two. However, the development of DirectX games based on ActiveX controls is rare on the Internet, I am interested in studying it recently. I have little achievements and do not dare to enjoy it exclusively. I hope I can use it as an example.
I chose WIN2K + VC6 + DirectX8 as the development platform. First, I created the
1. ActiveX control rendering process
When ActiveX controls are displayed or re-painted, the rendering process is similar to other applications developed using MFC. However, ActiveX controls are in active and inactive states.
The ActiveX control in the ActiveX control contain
In our computer, because the use of a long time to install a vicious accidental, the system installed more and more activex/com components, and many applications do not remove these components at the same time uninstall, therefore, the Master of Windows optimization to the user to provide the Activex/com component cleanup capabilities. Below, the small compilation will come to share with you how Windows Opt
What is an ActiveX control?
ActiveX controls are widely used on the Internet. They can add to the fun of browsing by providing video, animated content, and so on. However, these programs may have problems or provide you with unwanted content. In some cases, these programs can be used to collect information from your computer in ways you do not allow, to destroy data on your computer, to install software on
Many ActiveX controls, such as: ActiveMovie, the stop button in the IE toolbar, have special meaning for them. When the Stop button is in time these controls can stop playing background music or animations. This article will tell you to add the IOleCommandTarget interface to the ActiveX control to catch the Stop button action.
Detailed content
To support the IOleCommandTarget interface you must manually a
Controls are also the most important part of programming as controls improve their status in visual programming. Many VB programmers may suffer from the lack of good-looking controls, today unstoppable to teach you how to make ActiveX controls.
First, the new project
1. Select the ActiveX control
2. Open the Project
We'll see one more UserControl in the engineering Explorer, which is equivalent to the form
ActiveX Digital SignatureKeyword: Digital Signature[Switch] Delphi releases ActiveX Control Digital SignatureOriginal Author: Guangming brother
Recently I am studying ActiveX technology. I used Delphi 7 to create an ActiveX control application with ActiveForm. This control generates a. OCX file. Now, I need to deploy t
We have developed ActiveX controls before, and then we will release them.
First, create a windows installation project and add the main output of the ActiveX control to the project output. Then, modify the main output file of the ActiveX control and change its Register attribute to vsdrpCOM .:
Next, we will change the project properties to Web boot. Unfortunatel
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.