Com components use in .net, DOT NET Programming

How can COM Components use in .NET?

The .NET components can communicate with COM using RCW (Runtime Callable Wrapper). The ways with which you can generate RCW are as shown below :-

1)By Adding the  reference in Visual Studio.net. The Wrapper class is generated and placed at the "BIN" directory.

136_COM components.png

2)By Using  Tlbimp.exe yourname.dll.type library import tool.

3)By Using interopservices.System.runtime.Interopservices namespace contains class TypeLib Converter that provides methods to convert COM classes and interface into the assembly metadata.

4)Complete your custom wrappers.If your COM component does not have any type library then the only way to communicate is writing custom wrappers. Which  means communicating directly with the COM components.

Posted Date: 9/21/2012 7:20:09 AM | Location : United States







Related Discussions:- Com components use in .net, Assignment Help, Ask Question on Com components use in .net, Get Answer, Expert's Help, Com components use in .net Discussions

Write discussion on Com components use in .net
Your posts are moderated
Related Questions
What is Data Independence? Data independence means that "the application is independent of the storage structure and access method of data". In other words, the ability to cha

Have you ever worked with Microsoft Application Blocks, if yes then which? The Application Blocks are C# & the VB.NET classes distributed as the Visual Studio projects which ca

What is nested Classes? You can access an array using the INDEX value of that array, but how many times you know the real value of the index. The Hashtable provides a way of ac

Project Description: We are seeking a simple tool that can convert an existing flash file (.SWF) into HTML5. Our idea is to convert small flash games into html5 games. Please NO

What's the use of resource manager class? The ResourceManager class helps us to read the resource files and get the values by using key. At First you require to create the obje

What is Six Sigma implementation? To attain Six Sigma is a team effort and cannot be attained individually. Driving the Six Sigma itself in an organization is vast project as i

Project Description: We need to construct services in C# or VB.NET that can manipulate with a Targin TIP Protocol Server (protocol for financial information exchange), receive d

In what order do the events of an ASPX page execute. As a developer is it important to understand these events?   If you try to access it in Page_Load that is way previous than

What are the core functionalities in XML .NET framework? The XML API for the .NET Framework includes the following set of functionalities: XML readers With XML readers

URGENTLY WANTED a Web Developer (with solid .NET skills) We are immediately in search of a creative passionate and highly organised expert Web Developer to join our team to work