The methods exposed by ActiveX objects define the actions that the objects can perform. Before invoking the methods of an ActiveX object you need to instantiate the object (see instantiating ActiveX objects). Invoking a method of an instance of an ActiveX object is similar to calling a function or procedure. The difference is that where the name of the function or procedure would normally go you need to put the following:
object-variable '.' name
where object-variable is an object variable that contains an instance of the ActiveX object
and name is the name of the method being invoked.
See the Irie Pascal Programmer's Reference Manual (in "progref.html") for more information.
NOTE: After you have finished using the ActiveX object make sure you get rid of it (see disposing of ActiveX objects).