Visual C# .NET » COM Interoperability

We have 59 COM Interoperability tutorials, you can see below:


Variants and COM


Tips on using Variants with COM


Details    Read Tutorial    Views: 79    Rate: 0 (0 votes)    Jan 10 2008 - 16:21

Count pages in MS Word Document


A simple way of using C# to access a Word document\'s properties


Details    Read Tutorial    Views: 105    Rate: 0 (0 votes)    Jan 10 2008 - 16:20

Calling Managed .NET C# COM Objects from Unmanaged C++ Code


An article on calling managed .NET C# COM objects from unmanaged C++ code.


Details    Read Tutorial    Views: 89    Rate: 0 (0 votes)    Jan 10 2008 - 16:19

Creating and Deleting Custom Menus in Visio using C#


Creating the Visio custom menus and handling the click event from C# programs.This project requires that Visio application should run and it requires a default drawing to be open.


Details    Read Tutorial    Views: 87    Rate: 0 (0 votes)    Jan 10 2008 - 16:17

Reusing Legacy DLLs in C#


This article gives you a way to reuse existing code, without rewriting it to .NET


Details    Read Tutorial    Views: 101    Rate: 0 (0 votes)    Jan 10 2008 - 16:16

IIS Admin Base Object Wrapper for installing SSL Certificates


A COM Interop Wrapper for the IIS Admin Base Object that can be used to programmatically install SSL Certificates in IIS 5.0


Details    Read Tutorial    Views: 69    Rate: 0 (0 votes)    Jan 10 2008 - 16:15

COM Interoperability in .NET Framework: Part I


Using COM components in .NET framework. VB 6, C#, Windows, .NET, Dev, COM, ADO.NET, Intermediate


Details    Read Tutorial    Views: 95    Rate: 0 (0 votes)    Jan 10 2008 - 16:14

Using MSHTML Advanced Hosting Interfaces


This article shows you how to use the Advanced Hosting Interfaces such as IDocHostUIHandler .NET 1.0, C#, Windows, VS, Dev, Intermediate


Details    Read Tutorial    Views: 90    Rate: 0 (0 votes)    Jan 10 2008 - 16:07

Collections Interoperability


This article describes how to move collections between native and managed code. VC7.1, WinXP, VS.NET2003, C#, .NET, Dev, COM, Intermediate


Details    Read Tutorial    Views: 84    Rate: 0 (0 votes)    Jan 10 2008 - 16:04

A COM class wizard for VS.NET 2003


A wizard to bring easy COM class creation to C#. .NET 1.0, .NET 1.1, VS.NET2002, VS.NET2003, C#, JScript, Windows, Dev, COM, Intermediate


Details    Read Tutorial    Views: 88    Rate: 0 (0 votes)    Jan 10 2008 - 15:59

Unmanaged to Managed calls (C++ to C#) without Regasm


A simple way to call a managed method from the unmanaged world.


Details    Read Tutorial    Views: 150    Rate: 0 (0 votes)    Dec 18 2007 - 10:49

Text to Speech using Windows SAPI


An article on how to use WindowsText-To-Speach (TTS)


Details    Read Tutorial    Views: 116    Rate: 0 (0 votes)    Dec 18 2007 - 10:48

Band Objects - .NET 2.0 Redux


A .NET 2.0 version of Pavel Zolnikov\'s BandObjects project.


Details    Read Tutorial    Views: 147    Rate: 0 (0 votes)    Dec 18 2007 - 10:47

IIS Admin Base Object Wrapper for installing SSL Certificates


A COM Interop wrapper for the IIS Admin Base Object that can be used to programmatically install SSL Certificates in IIS 5.0.


Details    Read Tutorial    Views: 123    Rate: 0 (0 votes)    Dec 18 2007 - 10:46

Lingering COM Objects Caused by ActiveX Control Event Handlers


This article describes how, under some circumstances, an ActiveX control event handler can cause COM objects to linger.


Details    Read Tutorial    Views: 111    Rate: 0 (0 votes)    Dec 18 2007 - 10:45

Hosting a webpage inside a Windows Form


Uses the Internet Explorer / MSHTML hosting interfaces to embed and manipulate the WebBrowser control.


Details    Read Tutorial    Views: 99    Rate: 0 (0 votes)    Dec 18 2007 - 10:44

Forms Designer Friendly Background Intelligent Transfer Service (BITS) wrapper


Create BITS copy jobs using the Forms Designer. All features of BITS are available, and easy to use managed wrapper with all COM interop details hidden.


Details    Read Tutorial    Views: 92    Rate: 0 (0 votes)    Dec 18 2007 - 10:43

IIS Admin Base Object Wrapper for installing SSL Certificates


A COM Interop Wrapper for the IIS Admin Base Object that can be used to programmatically install SSL Certificates in IIS 5.0


Details    Read Tutorial    Views: 436    Rate: 0 (0 votes)    Apr 18 2007 - 18:05

Using Word's spellchecker in C#


An article on using Word\'s spellchecker from a textbox in C#


Details    Read Tutorial    Views: 244    Rate: 0 (0 votes)    Apr 18 2007 - 18:03

Using MSHTML Advanced Hosting Interfaces


This article shows you how to use the Advanced Hosting Interfaces such as IDocHostUIHandler


Details    Read Tutorial    Views: 200    Rate: 0 (0 votes)    Apr 18 2007 - 18:02

Band Objects - .NET 2.0 Redux


A .NET 2.0 version of Pavel Zolnikov\'s BandObjects project.


Details    Read Tutorial    Views: 221    Rate: 0 (0 votes)    Apr 18 2007 - 18:01

A basic Particles System


Introduction to the basic idea of the particle systems, and how to create basic effects such as explosions and water fountains.


Details    Read Tutorial    Views: 244    Rate: 0 (0 votes)    Feb 05 2007 - 15:01

Count pages in MS Word Document


A simple way of using C# to access a Word document\'s properties


Details    Read Tutorial    Views: 247    Rate: 0 (0 votes)    Feb 05 2007 - 14:52

Calling Managed .NET C# COM Objects from Unmanaged C++ Code


An article on calling managed .NET C# COM objects from unmanaged C++ code.


Details    Read Tutorial    Views: 297    Rate: 0 (0 votes)    Feb 05 2007 - 14:51

Creating and Deleting Custom Menus in Visio using C#


Creating the Visio custom menus and handling the click event from C# programs.This project requires that Visio application should run and it requires a default drawing to be open.


Details    Read Tutorial    Views: 255    Rate: 0 (0 votes)    Feb 05 2007 - 14:50

Wrapping the Windows Installer 2.0 API


An article describing wrapping the Windows Installer 2.0 API using C# and .NET interop.


Details    Read Tutorial    Views: 262    Rate: 0 (0 votes)    Feb 05 2007 - 14:50

COM Interoperability in .NET Framework: Part I


Using COM components in .NET framework.


Details    Read Tutorial    Views: 306    Rate: 0 (0 votes)    Feb 05 2007 - 14:49

Reusing Legacy DLLs in C#


This article gives you a way to reuse existing code, without rewriting it to .NET


Details    Read Tutorial    Views: 280    Rate: 0 (0 votes)    Feb 05 2007 - 14:48

Using managed delegate types in the unmanaged world


An article on how to use managed delegate types in the unmanaged world.


Details    Read Tutorial    Views: 245    Rate: 0 (0 votes)    Feb 05 2007 - 14:48

Collections Interoperability


This article describes how to move collections between native and managed code.


Details    Read Tutorial    Views: 235    Rate: 0 (0 votes)    Feb 05 2007 - 14:46

COM+ Subscription Viewer


This sample shows how to retrieve a subscriptions registered in the Event System store using C#.


Details    Read Tutorial    Views: 272    Rate: 0 (0 votes)    Feb 05 2007 - 14:46

ADO Data Access through COM Interop in .NET


The article explains how to make use of COM objects from .NET


Details    Read Tutorial    Views: 259    Rate: 1 (1 votes)    Feb 05 2007 - 14:45

Lingering COM Objects Caused by ActiveX Control Event Handlers


This article describes how, under some circumstances, an ActiveX control event handler can cause COM objects to linger.


Details    Read Tutorial    Views: 252    Rate: 0 (0 votes)    Feb 05 2007 - 14:44

Hosting a webpage inside a Windows Form


Uses the Internet Explorer / MSHTML hosting interfaces to embed and manipulate the WebBrowser control.


Details    Read Tutorial    Views: 277    Rate: 0 (0 votes)    Feb 05 2007 - 14:43

Forms Designer Friendly Background Intelligent Transfer Service (BITS) wrapper


Create BITS copy jobs using the Forms Designer. All features of BITS are available, and easy to use managed wrapper with all COM interop details hidden.


Details    Read Tutorial    Views: 293    Rate: 0 (0 votes)    Feb 05 2007 - 14:42

COM and component creation in C#


A discussion on COM component creation in C#


Details    Read Tutorial    Views: 267    Rate: 0 (0 votes)    Feb 05 2007 - 14:40

Distributed COM+ LCE using MSMQ over Corporate Network


Improve COM+ LCE reliabilty and scalability using MSMQ.


Details    Read Tutorial    Views: 268    Rate: 0 (0 votes)    Feb 05 2007 - 14:39

Using COM+ Resource Dispenser in the .Net Application.


This article describes how to incorporate the resource dispenser into the .Net application using the C# language to build a poolable resource.


Details    Read Tutorial    Views: 260    Rate: 0 (0 votes)    Feb 05 2007 - 14:38

Building COM Objects in C#


Building COM Objects in C#.


Details    Read Tutorial    Views: 443    Rate: 0 (0 votes)    Feb 05 2007 - 14:38

Using the COM+ Event System service in the .Net Application.


This article describes how the COM+ LCE can be incorporated in the .Net application using the C# language.


Details    Read Tutorial    Views: 269    Rate: 0 (0 votes)    Feb 05 2007 - 14:37

A Very Simple Persistent Cache in a COM+ Component


This article describes how to use a COM+ component as a persistent cache. From this simple base, a complete caching system could be built.


Details    Read Tutorial    Views: 247    Rate: 0 (0 votes)    Feb 05 2007 - 14:33

Using TIP (Transaction Internet Protocol) to Enlist Web Services into COM+ Distributed Transactions


Shows how to use TIP to communicate with web services in a COM+ distributed transaction.


Details    Read Tutorial    Views: 260    Rate: 0 (0 votes)    Feb 05 2007 - 14:32

Working with the COM+ admin objects under .NET/C#


An article that explores .NET interoperability with COM components.


Details    Read Tutorial    Views: 252    Rate: 0 (0 votes)    Jan 30 2007 - 18:12

Decouple Components by Injecting Custom Services into Your Object's Interception Chain


The .NET Framework can use contexts as an object\'s execution scope and intercept calls going to and from the object, similar to the way COM+ provides component services. What is new with this mechanism is that the runtime allows developers to take part in the interception chain and add powerful services, thus extending existing component services. This in turn decouples the business logic from the system plumbing and simplifies long-term maintenance. Presently, .NET contexts and interception are undocumented aspects of .NET. This article presents the underlying interception architecture and message processing, explains custom context attributes, and walks through a custom interception-based component service.


Details    Read Tutorial    Views: 230    Rate: 0 (0 votes)    Jan 24 2007 - 13:09

Create a Serviced .NET Component in Visual C# .NET


This step-by-step article demonstrates how to create a serviced .NET component that uses transactions. This article also demonstrates how to create a client that tests your serviced component. Microsoft Enterprise Services provides Microsoft COM+ services to .NET components.


Details    Read Tutorial    Views: 275    Rate: 0 (0 votes)    Jan 24 2007 - 13:08

COM Interoperability in .NET


In this article I cover the area Interoperability issues. There is no doubt that with the help of .Net one can create powerful components and Distributed applications than any other language. But we have to think over about the past reusable components, which were created by many languages such as VB etc.


Details    Read Tutorial    Views: 293    Rate: 0 (0 votes)    Jan 24 2007 - 13:06

COM and Component creation in C#


Component is nothing but the reusable piece of software in binary form that can be plugged into other components from other vendors. Reusable software programs that share a common interface allowing easy integration into applications that is it is a Binary standard that allows any two components to communicate that component may be written in any language.


Details    Read Tutorial    Views: 275    Rate: 0 (0 votes)    Jan 24 2007 - 13:05

Using the WebBrowser control in .NET


Create a web browser completely in C#


Details    Read Tutorial    Views: 319    Rate: 0 (0 votes)    Jan 22 2007 - 14:00

Creating a shell extension with C#


Demonstrates building a Windows Explorer shell extension using C# and COM Interop.


Details    Read Tutorial    Views: 306    Rate: 0 (0 votes)    Jan 22 2007 - 13:57

Unmanaged to Managed calls (C++ to C#) without Regasm


A simple way to call a managed method from the unmanaged world.


Details    Read Tutorial    Views: 310    Rate: 0 (0 votes)    Jan 22 2007 - 13:54

Real Stories of .NET Interop: C#, VB.NET and VB6


This article attempts to provide a tutorial as well as help with the troubleshooting of your own interop issues. I will describe the issues with using libraries written in C# or VB.NET in your VB6 applications. The reason, this is an issue, is because there is a lot of new code available only in C# or VB.NET that access new functionality of the OS. Or it could simply be the case that there is already existing C# code that\'s not available as a COM library, that you want to use.


Details    Read Tutorial    Views: 293    Rate: 0 (0 votes)    Jan 17 2007 - 18:04

Writing an ActiveX Control in .NET


In this example, I will walk you through creating an ActiveX control that will show a simple user interface and accept input from a web page.


Details    Read Tutorial    Views: 2046    Rate: 1 (1 votes)    Sep 09 2004 - 15:06

Using COM Components in .NET Framework


In this article we review the concepts & walk-through an example that demonstrates COM interoperability in .NET framework.


Details    Read Tutorial    Views: 867    Rate: 0 (0 votes)    Sep 09 2004 - 15:03

Platform Invoke Sample - Changing the Desktop Wallpaper


In this example we will see how to change the Desktop wallpaper by invoking a Windows API function from C#.


Details    Read Tutorial    Views: 876    Rate: 0 (0 votes)    Sep 09 2004 - 15:01

COM+ Subscription Viewer


This sample shows how to retrieve a subscriptions registered in the Event System store using C#.


Details    Read Tutorial    Views: 812    Rate: 0 (0 votes)    Jul 11 2004 - 13:39

Hosting a webpage inside a Windows Form


Uses the Internet Explorer / MSHTML hosting interfaces to embed and manipulate the WebBrowser control.


Details    Read Tutorial    Views: 996    Rate: 0 (0 votes)    Jul 11 2004 - 13:34

ADO Data Access through COM Interop in .NET Recommended


The article explains how to make use of COM objects from .NET.


Details    Read Tutorial    Views: 812    Rate: 0 (0 votes)    Jul 11 2004 - 13:33

Using the WebBrowser control in .NET


This article describes creating a web browser completely in C#. The application hosts a Microsoft WebBrowser Control and uses the functions it provides for all control.


Details    Read Tutorial    Views: 1071    Rate: 0 (0 votes)    Jul 11 2004 - 13:32

Using Multimedia Controls in Managed Code


In this article I’ll try to explain the issue of the COM Interoperability and how to use Multimedia Device controls.


Details    Read Tutorial    Views: 804    Rate: 0 (0 votes)    Jul 08 2004 - 23:07