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
How to use ActiveX Control in .Net ? ActiveX control is a special type of COM component  that supports a User Interface. Using ActiveX Control in your .Net Project is even

Which command-line tool generates code and mapping for the LINQ to SQL component of .NET Framework? The SqlMetal.exe command-line tool generates code and map the LINQ to SQL co

What are the various ways of authentication techniques in ASP.NET? The Selection of  an authentication provider is as simple as making an entry in  the web.config file of  the

Connect a Software Application to a Database Backend Acquire the knowledge and develop the skills needed to prototype an end user application using a rapid application dev

What is SQl injection? This is a Form of attack on the  database-driven Web site in which the attacker executes the unauthorized SQL commands by taking merits of insecure code

Excel Assistant Need somebody to duplicate/create an excel spreadsheet and to make it website friendly. Desired Skills are VB.NET, VBA, C++, macros, webdesign

C# coding to include user specified screen recording to app Project Description: Reposting as selected coder didn't read brief and accepted job to do then tell me would be in

TFS - SpiraTeam synchronization plugin. Project Description: We would like you to develop the subsequent requirements in one plug-in already in production. The plug-in was de

ASP.NET 2.0 application port to ASP.NET MVC Project Description: Legacy ASP.NET application for managing tasks for a private client needs a complete re-write. The applicat

How can we load multiple tables in a DataSet? objCommand.CommandText = "Table1" objDataAdapter.Fill(objDataSet, "Table1") objCommand.CommandText = "Table2" o