TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
About COM Interop
Share
facebook
twitter
linkedIn
Reddit
Topics
No topic found
Content Filter
Articles
Videos
Blogs
News
Complexity Level
Beginner
Intermediate
Advanced
Refine by Author
[Clear]
G Gnana Arun Ganesh (5)
Filip Bulovic (4)
Dipal Choksi (3)
Bechir Bejaoui (3)
Ajay Yadav (2)
Anand Narayanswamy (2)
Ashish Jaiman (2)
Mike Gold (2)
Prashant Tailor (1)
Scott Lysle (1)
Andrew Karasev (1)
David Sandor (1)
Srinivas Sampath (1)
Harish Kumar (1)
Hemant Kathuria (1)
maulik.shah (1)
kuralmani.elango (1)
Sajana Palanagama (1)
Dinesh Ahuja (1)
Imtiaz Alam (1)
Mahesh Chand (1)
raviraj_bh (1)
Daniel Stefanescu (1)
Narayana Surapaneni (1)
Related resources for COM Interop
No resource found
Invoking Java Code in C#.NET
6/5/2024 5:36:19 AM.
Invoking Java code in C#/.NET involves bridging the gap between the two languages using techniques like JNI, InteropServices, and P/Invoke. This allows seamless integration, enabling C# applications t
COM in .NET
5/1/2024 11:39:57 AM.
COM (Component Object Model) in .NET facilitates interoperability between .NET and COM objects. Using COM Callable Wrappers (CCW) and Runtime Callable Wrappers (RCW), .NET code can access COM componen
COM Interoperability Part 1: Using COM Components in .NET Framework
2/6/2024 11:08:45 AM.
In this article, we review the concepts & walk through an example that demonstrates COM interoperability in the .NET framework. Learn about the Component Object Model (COM) and the Runtime Callabl
Aural Alert Generator (Voice and Tones)
8/22/2022 10:02:31 AM.
This article describes an application used to generate and test aural alerts; I wrote the application originally to allow me to define and test aural alerts for use in a couple of cockpit simulators,
Calling Managed Code From Unmanaged Code
2/14/2019 8:29:46 AM.
One significant task for developers (including myself) is doing some kind of automation of Microsoft Office. So, I will concentrate on the opposing side of the problem - how to use managed assembly fr
Invoking Unmanaged DLL Functions from Compact Framework for Pocket PC
12/4/2018 5:27:44 AM.
In this example we will use the Compact Framework to create a program containing a launch pad for the Pocket PC.
How to create a COM application and consume it from within VC++6.0 - .Net and COM Part III
9/4/2014 5:13:33 AM.
In this article , I will expose another way to generate a COM component and I will give also a trick of how to consume this generated COM from within VC++ 6.0 application.
ActiveX Controls in VB.NET
12/1/2012 2:20:03 AM.
VB.NET language provides us a way to call this COM server in a program. When we compile a VB.NET program an Intermediate Language is generated and it is called as Managed Code. This article shows how to create a simple server by using Visual Basic 6.0 and implementing it in a VB.NET client program.
COM Components from .NET Clients using VB.NET
12/1/2012 2:08:08 AM.
The .NET framework exposes COM objects through a proxy called the runtime callable wrapper (RCW). The primary function of RCW is to marshal call between a managed client (.Net) and unmanaged COM object. The runtime maintains a single RCW for each COM object.The example uses a COM component and DotNet client extending the functionality of the COM component using delegation.
Great Plains Dexterity programming in VB.NET
11/10/2012 2:33:50 AM.
This article is for advanced Great Plains Dexterity and VS.NET developers. It describes the technique of direct COM objects calling in Dexterity.
COM Interoperability in VB.NET Part 3
11/10/2012 2:28:52 AM.
In this article I cover the area how to use a COM server in a .NET client. Existing COM components are precious resources to your managed applications. So now let us observe how you can build a .NET Client that uses a COM Server.
Writing an ActiveX Control in VB.NET
11/10/2012 2:23:58 AM.
Create a Windows control project in Visual Studio .NET and expose an interface to the COM world.
COM Interoperability in VB.NET Part 2
11/10/2012 2:15:00 AM.
This article elucidates how to build and install-managed code that will be used from COM applications. A classic COM server is activated using the Service Control Manager (SCM). It looks up numerous information such as CLSIDs, IIDs, ProgIDs etc.
JIT Coding in VB.NET
11/10/2012 1:49:47 AM.
One not so well known feature of .NET platform is possibility to invoke compiler and practically create code and assembly from running instance of application. It is possible to do that in two ways. First one is a bit simpler and involves namespaces System.CodeDom and System.CodeDom.Compiler, second one is more efficient and utilizes namespace System.Reflection.Emit. Since there are very few examples about how to use System.CodeDom.Compiler I will start with it.
Using COM+ SPM in .NET
9/30/2012 6:06:11 AM.
This article looks at how you can use the COM+ Shared Property Manager (SPM) in .NET to implement the sharing of state across components. I’m assuming that you are familiar with VB.NET, Windows Forms, Serviced Components and COM+. Before we actually get down to see the solutions, let’s get aside some basics first.
Creating MMC Snapin using C# (Part 1)
9/30/2012 6:03:16 AM.
This article and attached source code shows you how to create MMC Snapin using C#.
Migrating COM/DCOM Applications in Microsoft .NET Framework
9/30/2012 5:43:57 AM.
In the current Internet scenario, various classic applications run on multiple networks. These applications could have been written using different languages like Visual Basic, Visual C++. For example, a retail organization would have different systems, such as an inventory management system, a bill of material systems, and a general ledger system, all implemented using various technologies available for application development. These systems need to be integrated to form a higher-level enterprise information system for an organization.
Web Services-Interoperability
9/30/2012 5:41:34 AM.
In this article, we will see what interoperability is all about, comparison between Java and .NET interoperability, the benefits of and challenges faced in interoperability and the role of WS-I in this overall scenario.
ValidationScriptGenerator
9/30/2012 5:36:40 AM.
This article gives you a solution for generating a client side validation script in a component model that you can reuse in an ASP.NET project.
Mapping Microsoft Excel columns with XML data (XML data integration) programmatically using a .Net Application.
9/30/2012 5:34:58 AM.
Using this program you can map Excel columns programmatically and generate an XML file containing the cell values that you had in your Excel document. After generating the XML file we can read it into a dataset.
DTS Custom Task in C#
9/30/2012 5:29:53 AM.
During last year I wrote an article about DTS and how to use it in C#. In that article I stated that I didn’t manage to solve the problem related to CustomTask. Today I finally forced myself to tackle that problem again and here is the result. Writing simple CustomTask in C# is the easiest part.
Platform Invocation Services in .NET Framework
9/30/2012 5:19:39 AM.
This article will cover the details of Platform Invocation Services provided in .Net Framework. Platform Invoke Services acts as a bridge between the managed and unmanaged code. This service enables managed code to call unmanaged functions which are being exposed by any dynamic link libraries (DLL’s) such as Win32 API’s or any custom DLLs.
.NET COM Interoperability - Part 1: Using COM Components from .NET Framework
9/30/2012 5:10:24 AM.
The DotNet framework exposes COM objects through a proxy called the runtime callable wrapper (RCW). The primary function of RCW is to marshal call between a managed client (.Net) and unmanaged COM object. The runtime maintains a single RCW for each COM object.
Creating an Excel Spreadsheet Programmatically
9/30/2012 4:57:29 AM.
The Interoperability services make it very easy to work with COM Capable Applications such as Word and Excel. This article reveals using Excel from a managed application. Excel is the spreadsheet component of Microsoft Office 2000.
C# and ActiveX DLL
9/30/2012 4:54:39 AM.
As you know with Visual Basic 6.0, it is possible develop a COM server and implement them in a Visual Basic client program. But this is being done by using Visual Basic. You may wonder about the idea of calling this DLL in a C# Application. Well, C# language provides us a way to call this COM server in a program. When we compile a C# program an Intermediate Language is generated and it is called as Managed Code.
Language Independence from COM to .NET
9/30/2012 4:42:44 AM.
This article covers the subject regarding Language Independence. This term Language Independent means one can create an application using various languages. This Language independent starts from past COM (OLE & ActiveX) to present .Net.Let us see in detail.
Com and Component creation in C#
9/30/2012 4:39:32 AM.
Component is nothing but the reusable piece of software in binary form that can be plugged into other components from other vendors.
Accessing COM+ component using C#
9/30/2012 4:29:53 AM.
This tutorial explains step by step of accessing COM+ application using C#.
Using C# and COM Interoperability to Extract from a UML tool into a Microsoft Word Document
9/30/2012 4:08:11 AM.
This article allows you to read the classes contained inside of WithClass 2000 into a Word Document using COM Interoperability for Word and COM Interoperability for WithClass and presents your classes in a kind of report.
Platform Invoke Sample - Changing the Desktop Wallpaper
9/30/2012 3:56:27 AM.
In this example we will see how to change the Desktop wallpaper by invoking a Windows API function from C#. The Platform Invoke mechanism allows you to access unmanaged functions implemented in dlls.
Using Reflection and With Class2000 to view the .NET System.Drawing library Part I
9/29/2012 7:16:34 AM.
Using the power of .NET and the power of COM InterOperability through WithClass 2000, you can view the System.Drawing library in a rough UML diagram.
Integrate image scanning within a C# application: Part VI
11/7/2008 4:37:20 AM.
In this tutorial, I will show a very simple trick of how to integrate the functionality of scanning your documentation with a numeric scanner in your C# application.
Host an OCX control within a .Net windows application-.Net and COM part IV
11/3/2008 2:08:46 AM.
In this article I will explain how to host an OCX control within a .Net application.
Spell Check Web Service
8/31/2007 6:06:08 AM.
In this example we will create a Web Service which provides spell check functionality.
Windows Forms WebBrowser Control
2/23/2006 12:20:08 AM.
Windows Forms 1.0 lacked a Web Browser control. The work around was to use IE ActiveX control using COM Interop. Now Windows Forms 2.0 provides a Web Browser control, which is a managed wrapper of IE ActiveX control.
Basics of Extending Your Working Environment in Visual Studio
2/15/2006 1:55:55 AM.
All of us have used Macros in Microsoft Office and Add-ins in Visual Studio 6 and I am very sure all of us have been impressed as well by their power to control their own working environment.
Querying COM+ through Web Services
1/9/2006 1:42:06 AM.
The most COM+ common administrative tasks (creating a COM+ application, installing/deleting a component, setting a component attribute) can be accomplished manually with the Component Services administrative tool from Management Console.
An insight into Code Reusability and COM Interoperability : Part I
12/23/2005 5:20:31 AM.
Code reusability is the art of using existing code to achieve better productivity and ease of maintenance. The concept of reusability is not new. Its existence has been evident since the evolution of mankind.
JIT Coding
12/21/2005 7:24:17 AM.
One not so well known feature of .NET platform is possibility to invoke compiler and practically create code and assembly from running instance of application. It is possible to do that in two ways. First one is a bit simpler and involves namespaces System.CodeDom and System.CodeDom.Compiler, second one is more efficient and utilizes namespace System.Reflection.Emit. Since there are very few examples about how to use System.CodeDom.Compiler I will start with it.