Odcl_RegisterActiveXCtrl

(FromnExtension file)

<< Click to Display Table of Contents >>

Navigation:  ObjectDCL > Free Extra Lisp function > Config & Setup >

Odcl_RegisterActiveXCtrl

(FromnExtension file)

Previous pageReturn to chapter overviewNext page

Odcl_RegisterActiveX

This method is used to register an ActiveX control. When installing your software to another machine each ActiveX control that is used in your program must be registered to the users machine. There are two ways to do this. The most common is to use a proper installation package that will register the ActiveX controls for you. The other is to use this method to register the controls. It is your responsibility to ensure that you do not call this method on any ActiveX control more than once. No damage will be done, but registering ActiveX controls consumes a noticeable amount of time.

Parameters

String identifying the path to the ActiveX dynamic library file.

 

ReturneValues

Returns the following according to the situation:

T when successful.

Nil on failure.

 

Example

;Register this ActiveX

(Odcl_RegisterActiveXCtrl MyProject_MyForm_MyControl "MyActiveX.ocx")

 

 

AutoLisp Syntax:

(Setq rValue (Odcl_RegisterActiveXCtrl sActiveXFileName [as String]))