IComComponent

Declaration

IComComponent: IDispatch

Overview

This interface is meant to create, access, delete COM entities.

Properties

Array<IComClass> Classes - Gets the collection of com classes.

Array<IComInterface> Interfaces - Gets the collection of com interfaces.

Array<IComTypeLibrary> TypeLibraries - Gets the collection of type libraries.

Array<IComPlus> TypeLibraries - Gets the collection of COM+.

Methods

NewClass(String aGUID, IFile aFile) - returns IComClass
Creates a new COM class with specified GUID and the executable file containing the class (*.exe, *.dll).

NewInterface(String aGUID, String aName) - returns IComInterface
Creates a new COM interface with specified GUID and name.

NewTypeLibrary(IFile aFile) returns IComTypeLibrary - Creates a new type library from specified type library file (*.tlb)

NewComPlus(IFile aFile) - returns IComPlus
Creates a new COM+ from specified executable file (*.exe, *.dll).

ImportComPlusFromMsi(String aPathToMsiFile) - Imports the COM+ from .msi file from disk.

DeleteCom(VARIANT aCom) - Deletes a COM entity from project. Supported argument types are: IComClass, IComInterface, IComTypeLibrary, IComPlus.

See also

IComClass

IComClassActiveX

Topics