I. Introduction to the Application of ActiveX:ActiveX controls, which are commonly called OCX controls, are part of ActiveX technology. ActiveX is a Component Object model COM-based technology introduced by Microsoft, including a series of extensions and enhancements to the Windows 32-bit Application programming interface (Win32 API) and
Development tools:
1. Visual Studio 2005 for ActiveX component development
2. Microsoft ActiveX control pad is used to generate HTML webpages containing ActiveX control.
Steps:1. Create an MFC ActiveX Control Project Using Visual Studio 2005. After compilation, find a fi
* ActiveX Control
ActiveX controls and customer applicationsProgramRun in the same process.It can be used for ActiveX Control of VB or other development tools and Web browsers, which is similar to the general VB Application Design.You can add property pages for ActiveX control and perform real-time debugging..
* Acti
Basic concepts of 1.ActiveX An ActiveX control can be thought of as a very small server application that cannot run on its own and must be embedded in a container program and run with that container. This container includes Web pages, application forms, etc... The suffix name of the ActiveX control is OCX or DLL. Usually in the form of OCX and Dynamic Library co-
1. What is an ActiveX control?
The microsoft®activex™ control is a reusable software component developed by software vendors. With ActiveX controls, you can quickly add special features to URLs, desktop applications, and development tools. For example, a StockTicker control can be used to instantly add activity inform
Basic concepts of 1.ActiveXAn ActiveX control can be thought of as a very small server application that cannot run on its own and must be embedded in a container program and run with that container. This container includes Web pages, application forms, etc...The suffix name of the ActiveX control is OCX or DLL. Usually in the form of OCX and Dynamic Library co-packaged into a cab or EXE file placed on the s
FAQs about web page development using ActiveX Controls
Posting time:Author: Unknown [no author record was found when this document was obtained. I am sorry, this document is all reproduced]
1. What is
This article will first show you how to use Visual Studio to develop a simple ActiveX control, and then describe the basics of ActiveX control development, such as methods, properties, and events, and finally how to use this knowledge to communicate between ActiveX controls and page pages.of the Myactivex controlBrief introductionActiveX was a technology introduc
After Microsoft assigned SP2 to IE, when ie opened some web pages containing ActiveX controls, a prompt box is displayed, asking the user to choose whether to install the control; by default, common users do not know what is going on. The company's products also encountered such problems. The only way is to make the control into an EXE file for users to download and manually install and register. In this way, a test is required, if the user does not i
Windows
Steps:
First win+r the run, then enter the registration command: regsvr32 c:\.......\testmfcatldebug.ocx (anti-registration command: regsvr32 c:\.......\testmfcatldebug.ocx-u)
There are two scenarios in which the control registration fails:
First: Using a non-administrator user login system will not be able to register the COM component due to insufficient permissions, this time you must use the administrator user to log into the operatin
After Microsoft assigned SP2 to IE, when ie opened some web pages containing ActiveX controls, a prompt box is displayed, asking the user to choose whether to install the control; by default, common users do not know what is going on. The company's products also encountered such problems. The only way is to make the control into an EXE file for users to download and manually install and register. In this way, a test is required, if the user does not i
The workaround is to define a static ActiveX object in the form class that assigns the ActiveX object on the interface to the newly defined object in the Formload class, which is accessible to the static object.public static Axclientdriver_ntlib.axclientdriverctrl com = new Axclientdriver_ntlib.axclientdriverctrl ();private void Form1_Load (object sender, EventArgs e){com = THIS.AXCLIENTDRIVERCTRL1;IsRunnin
netscapenavigator plug-ins (Plug-In) so that navigator can also browse Web sites that contain ActiveX parts.
2.ActiveX Control and Internet
ActiveX control is an updated version of OLE control. Control is the primary element that establishes a programmable part (Component). Acti
Conditional loading of ActiveX events when ActiveX is used
When ActiveX is used, events are directly added to the page. For example:
1) Call voice TTS ActiveX
Script
Type
= "Text/JavaScript"
Language
= "JavaScript"
>
VaR
Voiceobj
=
Null
;
//
TTS object
Voiceobj
=
New
First, prefaceAfter several studies, now we have mastered the entire development process of ActiveX, but to play the true power of ActiveX, must rely on JS. Let's learn now!Second, JS call ActiveX methodSimply write a public method in the UserControl subclass (that is, the custom ActiveX control).C#[Guid ("0203dabd-51b
VB.
Let's take a look at what an ActiveX DLL is. ActiveX is Microsoft proposed a widely used in the Windows family of a code encapsulation technology, improve the reusability of program code, speed up the development of program projects, commonly known as "components." In VB6 's integrated development environment, we can see several ActiveX projects:
1,
ActiveX control is a user interface component created using COM (Component Object Model) technology. ActiveX controls are small, fast, and powerful, and can simplify the process of integrating and reusing software components. This article discusses how to create ActiveX cont
In the previous essay: ActiveX (a) The first simple demo, JS one-way call ActiveX methods can be implemented, in many cases, the execution of methods in ActiveX is relatively time-consuming and performance-intensive. In this case, the ActiveX method executes using the asynchronous policy, then how can JS get asynchrono
1. Both of them can use Appwizard in vs ide To establish the framework. The former uses "MFC ActiveX Control wizard", and the latter uses "atl com Appwizard ".
2. The default extension of ActiveX controls created with MFC is ". ocx", and that of ActiveX controls created with ATL (Active Template Library) is ". dll ".
3. It is much easier to use MFC to create
ActiveX (1) The first simple Demo and activex the first demo
Speaking of ActiveX, my first instinct is Flash. With ActiveX, we can create rich and interactive applications. At the same time, using ActiveX features, we can achieve seamless connection between Js and
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.