摘要
介绍了微软公司提出的广泛应用于桌面及Web应用中的ActiveX工具集合的创建与使用。ActiveX控件是基于组件对象模型(COM)的可重用软件组件,有了它在网页和桌面应用程序中加入特殊的功能会很方便。使用VS2010创建了一个ActiveX控件包含为控件添加属性;改写相关函数;添加事件功能与添加事件激发功能等方法。使用ActiveX控件可丰富编程语言功能,拓宽Web程序的应用领域。
This paper introduces the creation and use of Active X tool set proposed by Microsoft Corporation, which is widely used in desktop and web applications. Active X control is a reusable software component, which is based on COM. It is very convenient to add special functions in web and desktop applications with this tool. In this paper, it uses VS2010 to create an Active X control containing methods of adding attributes to the control, rewriting related functions, adding function, adding events excitation function and so on. Using Active X controls can enrich programming language function and broaden the application field of Web application.
出处
《微型电脑应用》
2015年第12期74-76,6,共3页
Microcomputer Applications
关键词
控件
WEB页
属性
对话框
Control
Web Pages
Attributes
Dialog Box