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 are Assemblies? Assembly is a single deployable unit that have information about the implementation of classes, structures and interfaces. It also keeps the information ab

What are shared (VB.NET)/Static(C#) variables? Shared/Static classes are used when a class gives functionality which is not specific to any instance. In brief if you want an ob

What is Unicode? In order to understand the concept of Unicode we require  to move a little back and understand the ANSI code. The ASCII (ask key) stands for American Standard

What is difference between data set and data reader? Some major differences between dataset and datareader are as folows :- 1) The DataReader gives forward-only and read-onl

A CRM based on .net and Oracle as backend with import data, Transaction Reporting and management Capabilities Project Description: 1. Introduction ADA recovery Branch gets

I am seeking asp.net developers, and will raise depends on skills and work, we are a web development firm in mexico and i want full time developers that can focus 100 percent my pr

How can you increase SQL performance? 1)Keep your indexes as narrow as possible. This reduces the size of the index and decrease the number of reads needed to read the index.

How to Learn Dot Net Online and get online certificate ?

How do we assign page specific attributes? The Page attributes are specified by using the @Page directive.

What is BCP utility in SQL SERVER? The Bulk Copy Program (BCP) is a command line utility by which you can import & export large amounts of data in and out of the SQL SERVER dat