如何使程序在运行时自动注册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 下载
简单答疑系统 mmtools使用 amtel公司 marc 源码 ti dsp dtmf pxa255 寄存器 html循环移动图片 dsp 计时函数 java crc8 因数分解 程序 100khz iic-bus digital ic design process abap 中文资料 asp.net会计系统程序设计 光盘下载 fat 文件系统 源码 灰度共生矩阵源码 vc6 vfw video capture ffmpeg 例子 图像配准matlab vc硬件信息 java编写的代码生成工具 cavlc 介绍 图像轮廓提取 edma 中断 〈asp sql server组建动态 实例精讲--政府和教育网站篇〉源代码 c stl 书籍下载 灰度共生矩阵源程序 vc avi格式 串口调试助手 linux 12864 c语言程序 vfw帮助 完成端口编程 at89c2051的led钟 socket 文件的断点续传 colorplot.rar opengl 星空仿真 telnet source code 神经网络java源程序 c 读写dbf psk原理 通过http代理建立通道技术 定点fft c程序 vb 图像毕业设计 st7565r液晶显示,串行 语音编解码 c java 聊天室 代码 queryperformancecounter 使用 44b0音频 vxworks 例程 单片机12864 c程序