Welcome![Sign In][Sign Up]
Location:
Search - reportdesi

Search list

[Audio programReportDesign

Description: 如何使程序在运行时自动注册ActiveX控件 Last updated on 2007-01-05 01:14:23 单身白领浪漫交友,认准亚洲交友中心 编写Delphi应用程序时,经常会遇到一些ActiveX控件[注:扩展名为OCX的控件或DLL的类型库],它们为应用程序的开发提供了简单的操作途径。然而,这些程序在发布的同时,面临ActiveX控件注册问题。解决途径:一、用安装程序制作打包文件,往往会给增加程序本身的大小,系统重装时,则必须重新安装它;二、用程序本身进行代码编写函数的形式处理它。 使用方法分为两种: 一、直接把可视化的ActiveX控件放到程序中; 二、运行时根据需要实时建立。 如果是直接使用,则应用程序在初始化的过程中会自动寻找、创建所需的ActiveX控件,如果控件没有注册,初始化程序会产生一个异常,捕捉并处理这个异常。 在程序Form中加入一个新的方法: unit UAutoRegActiveX interface-how that process at runtime automatic registration ActiveX Last updated on 2 007-01-05 01:14:23 single white-collar romantic friends. Recognizing the Center for Asian friends Delphi application procedures, often encounter some ActiveX controls [Note : The expansion called OCX controls or the type of DLL] for their application development provide a simple way to operate. However, the issuance of these procedures while facing ActiveX registration. Solution : First, use the setup program produced packaging paper can often increase the size of the process itself, the system of heavy equipment, we must re-install it; Second, the procedures themselves function code in the form of the preparation to deal with it. Use divided into two categories : one, directly to the visualization of ActiveX cont
Platform: | Size: 977920 | Author: dgdfg | Hits:

CodeBus www.codebus.net