Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Everything / COM

COM

COM

Great Reads

by Adrian Dorache
Let's see a short example using COM objects exposed by Internet Explorer. The code below changes the color of every link in an HTML document.
by Boaz V
How to receive events from a COM object using the application message loop in a console application.
by Yuriy Kyyan
An article on creation automated interface for .NET applications.
by Florian Rosmann
COM Interop using a little post compiler. As a result, it is possible to use multithreading in combination with COM interfaces.

Latest Articles

by Adrian Dorache
Let's see a short example using COM objects exposed by Internet Explorer. The code below changes the color of every link in an HTML document.
by Boaz V
How to receive events from a COM object using the application message loop in a console application.
by Yuriy Kyyan
An article on creation automated interface for .NET applications.
by Florian Rosmann
COM Interop using a little post compiler. As a result, it is possible to use multithreading in combination with COM interfaces.

All Articles

Sort by Score

COM 

by Bismark Appah
.NET Runtime Library for Delphi
by Darki699
This is an example of how you may take a COM *.dll file, and binary-embed it inside your C# project as a *.cs file. You can create a fully functional COM interface in managed enviroment using the steps described in the project.
by Darki699
Another way to use the code above is to create dynamic "dynamic linking", to download dlls and embed them during runtime!How to do this:1. Add a project reference to a COM object, but DO NOT include the DLL in the executable folder2. Do not call any of the functions from the COM ref...
by Fabrice Lacharme
Yet another slider/trackbar in C#
by metastruct
When WebClient, HttpRequest, and all else fail, BITSadmin solves your download woes
by AspDotNetDev
This demonstrates how you can call a C# method in a Windows Forms application from JavaScript that is hosted in a webpage inside a WebBrowser control on your form.
by Leo Chapiro
This article explains how to consume a WebService (SOAP) from plain VisualBasicScript by using a COM DLL written in C#.
by Arman S.
Shows how to convert between different image formats by using GDI+
by #andy
Sample code to get you started
by Vivek Goyal
Debugging Java JNI and C++ code in COM based application
by Eduardo Mozart de Oliveira
How to download files with VBScript using COM (WinHTTP and MSXML) or WGET
by Bashar Tahir
Easily zip / unzip files using Windows Shell32
by Anton Kaminsky
Easy way to call a native COM method which has a parameter of type: HWND from C# code
by koolprasad2003
This tip explains how to use Word Automation using OpenXML and C# without Word Interop.
by Emiliarge
Simple WebBrowser (IE) class in Pure C++
by Arman S.
Shows how one can use IStream for in-memory operations
by ArindamSarkar
Tips and tricks to quickly find out how to manipulate Excel using .NET Managed Code
by Jayson Ragasa
Expose those class members written in .NET, in VB6
by Nishith Varma
Easy Remote Desktop Using C#.net
by JamesFaix
Get a collection of all running Excel interop Application objects (not just the active one)
by Philippe Bouteleux
How to instantiate a COM object wrapper and call a method at runtime
by Ramachandraiah Pandula
Retrieves height and width of the screen/monitor which is hosting the WPF window or windows control.
by B. Clay Shannon
Creating a simple sample Excel Pie Chart, with labeled slices using C# and Excel Interop
by V. Subhash
I made this list for CNN but it might be useful for any website owner.
by Mike Meinz
The COM Interop Runtime Callable Wrapper (RCW) is a "Black Box" that creates references to memory that need to be released before the called program will end.
by Martin Vorbrodt
How to use cURLpp (C++ wrapper around libcURL) to make a simple HTTP query to ip-api.com in order to retrieve geolocation information of a given host or IP address
by sunhui
Integrate .NET Component to your Native MFC Application at runtime
by SiretT
Console app to share internet connection with other network interface
by Soufiane Rabhi
Communication between .NET and other programming languages
by ugavnholt
How to invoke foreign remoting interfaces in remote hosts.
by Mircea Sirghi
Jacob for Excel, pivot tables, VBA functions, etc.
by veen_rp
A simple, step by step tutorial to set up an MS-Office Excel Ribbon, launch your own .NET applications from Excel and interact with the spreadsheet values.
by jan.mach71
A small tool listing Administrators group members recursively using the ActiveDS library.
by Saikumar Koona
How to make a component dynamically load the config file.
by Kai Schtrom
Win32_NetworkAdapterConfiguration WMI class in plain C and C++
by ShadowedR
A simple example of a C# Application interfacing with the Null Modem Emulator (com0com) driver to allow run time creation and configuration of Virtual Serial Ports
by Gunaprasad Shetty
The tip will help you understand how the Word document can be converted into PDF and merge it as single PDF with digital signature for the secured transport of PDF.
by wmjordan
Fully release resources engaged by COM objects.
by Crooked Path
Please let me suggest that "FinalReleaseComObject" is not the way to go. If you write structured code, you should never need it. Strictly following Microsoft Patterns & Practices:1) Declare & instantiate COM objects at the last moment possible.2) ReleaseComObject(obj) for ALL...
by Maxim Komlev
.NET classes to enumerate applications associated with protocol
by imagiro
How to use the shell to unzip a file to a folder location
by Martin Vorbrodt
How to refactor std::auto_ptr
by Muhamm Irfan
This tip will describe each step involved in the implementation of Reg-Free approach of .NET Component.
by Sivaji1565
This article briefly explains about resizing of custom task panes in Execl/Word/powerpoint
by flyhigh
By implementing a UI library and exporting its necessary components to lua script, we can create a beautiful UI and implement relevant logic in Lua script completely.
by Emiliarge
How to send data to device and receive data from device through COM-port
by Andres Cassagnes
A simple serial communication library, with a serial ports enumerator
by Eyal Rosner
If you are looking for memory leaks related to BSTR pointers, this tip might be very relevant for you.
by Christopher John Paul
UDP based chat application.
by Benktesh Sharma
Configure your favorite editor in git
by V5709
This tip will provide one of the ways of generating Excel files using Microsoft COM interop in MVC project.
by Romain Gailleton
A presentation on how to extract data from a Type Library (.tlb) and access COM Binary Interface from C++ using Qt
by imagiro
A small class for using COM DLL modules without registering them
by Evgeny Pereguda
Simple variadic template for implementation of IUnknown and IDispatch interfaces
by Joao Tito Livio
Introduction...
by koolprasad2003
This tip gives you an idea about how to create Word table using C# (Word automation)