ActiveXServers.RegisterTypeLibrary

Syntax

ActiveXServers.RegisterTypeLibrary( typeLibraryPath, newerTypeLibraryAlreadyRegistered)

Return Value

String

Returns the GUID of the type library this method registers.

Purpose

Registers the specified type library on this computer.

Remarks

This method updates ActiveXServers' collection of ActiveXServer objects to include the type library you specified.

Parameters

typeLibraryPath As String

[In] Specifies the absolute path of the file that contains the type library you want to register. Typically you specify a .exe , .dll , or .tlb file.

newerTypeLibraryAlreadyRegistered As Boolean

[Out] Returns True if a newer version of the type library you specified was already registered on the computer.