Discover the Power of IComponent for .NET Custom Controls and Reusability

Discover the Power of IComponent for .NET Custom Controls and Reusability

Paul Lv8

Discover the Power of IComponent for .NET Custom Controls and Reusability

Table of Contents

Disclaimer: This post includes affiliate links

If you click on a link and make a purchase, I may receive a commission at no extra cost to you.

IComComponent

https://techidaily.com

Declaration

IComComponent: IDispatch

https://techidaily.com

Overview

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

Properties

Array Classes - Gets the collection of com classes.

Array Interfaces - Gets the collection of com interfaces.

Array TypeLibraries - Gets the collection of type libraries.

Array 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.

https://techidaily.com

See also

IComClass

IComClassActiveX

https://techidaily.com

Topics

Did you find this page useful?

Please give it a rating:

Thanks!

Report a problem on this page

Information is incorrect or missing

Information is unclear or confusing

Something else

Can you tell us what’s wrong?

Send message

Also read:

  • Title: Discover the Power of IComponent for .NET Custom Controls and Reusability
  • Author: Paul
  • Created at : 2024-10-04 16:00:48
  • Updated at : 2024-10-11 01:01:20
  • Link: https://fox-metric.techidaily.com/discover-the-power-of-icomponent-for-net-custom-controls-and-reusability/
  • License: This work is licensed under CC BY-NC-SA 4.0.