Click here to Skip to main content
15,885,985 members
Everything / COM

COM

COM

Great Reads

by Maxim Kartavenkov
Article describes how to make H.264 Video Encoder DirectShow Filter using NVIDIA encoder API in C#
by Michael Dunn
A tutorial on using owner-drawn menus in a context menu shell extensions, and on making a context menu extension that responds to a right-click in a directory background.
by Arik Poznanski
Complete Library for using the Windows 7 Ribbon from C#, including 18 samples and 21 blog posts documenting the Ribbon features
by CMalcheski
How to Create a Complete DirectX Game in Assembly Language

Latest Articles

by Michael Chourdakis
DirectX hardware screen capture and encoding with audio mixing capabilities. H264/H265/VP80/VP90/FLAC/MP3. HDR supported.
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 Andrea Simonassi
The first and simplest of the multiplication algorithms, fast enough to multiply not too large numbers
by Excel-lent
This article shows how to compile and execute OpenCL code from VBA.

All Articles

Sort by Score

COM 

16 Jul 2012 by Maxim Kartavenkov
Article describes how to make H.264 Video Encoder DirectShow Filter using NVIDIA encoder API in C#
30 May 2006 by Michael Dunn
A tutorial on using owner-drawn menus in a context menu shell extensions, and on making a context menu extension that responds to a right-click in a directory background.
31 Jan 2010 by Arik Poznanski
Complete Library for using the Windows 7 Ribbon from C#, including 18 samples and 21 blog posts documenting the Ribbon features
8 Jun 2017 by CMalcheski
How to Create a Complete DirectX Game in Assembly Language
30 Jul 2012 by Dave Kerr
Manage the Global Assembly Cache with this handy tool - or roll your own with the provided API!
2 Aug 2017 by Marius Bancila
Using managed COM objects in C++ without registering the server in Windows Registry
16 Apr 2007 by Matt (D) Wilson
A simple command-line utility that validates XML files, implemented using MSXML via the VOLE COM/Automation driver library
5 Mar 2009 by Ernest Laurentin
Full-fledged ATL Windowless ActiveX Container. Ideal for hosting Windows Media Player, Transparent Flash and Silverlight Animations.
20 Mar 2024 by Michael Chourdakis
DirectX hardware screen capture and encoding with audio mixing capabilities. H264/H265/VP80/VP90/FLAC/MP3. HDR supported.
14 Oct 2009 by Alex Blekhman
Example of handling real-life challenges when hosting WebBrowser control: separate creation of hosting window and the control, keyboard shortcuts, control's dimensions, etc.
8 May 2005 by Brian C Hart
We build our new server and install it on the server machine.
24 Jul 2001 by Joao C. Morais
An article about COM Architecture, COM Servers, COM DLL Servers and the Registry
29 Jun 2009 by Michael Dunn
Create custom tasks in your app's jump list on Windows 7
8 Aug 2006 by Jeff Glatt
An ActiveX Script Host with custom COM objects. This allows a script to call C functions in your app.
18 Jul 2003 by Ernest Laurentin
Introduction to Microsoft Script Hosting and Adding Macro Scripting language support to existing MFC Application
10 Jun 2019 by thoughts-on-coding
Implementation of Root Approximation Algorithms such as Bisection, Newton, Dekker and Brent
24 Nov 2015 by koolprasad2003
This article explain you How to protect word document using C# and Word automation
4 Sep 2019 by Chris Boss
Visual Basic 6.0 just doesn’t want to disappear. Why ? Likely many have written vital applications using VB 6.0 and Visual Basic dot.net is so different that it is not a viable option.
20 Nov 2012 by Maxim Kartavenkov
Article shows how easy to make various video effects using PixelShaders in Direct3D.
13 Dec 2012 by Vijay Tanwar
Convert Word documents, Excel sheets to HTML files using Microsoft Office Interop API and render the result back to a client browser.
26 Nov 2016 by JamesFaix
Get a collection of all running Excel interop Application objects (not just the active one)
7 Oct 2012 by Maxim Kartavenkov
Article describes basic task which are requre to solve for developing your own DirectShow Splitter filters.
10 Jul 2012 by Maxim Kartavenkov
Articles describes how to make pure C# rendering video on VMR9 with custom allocator presenter over Direct3D in .NET
11 Aug 2000 by Brian C Hart
We look at connection points and set up the server's end of one. We'll also finish implementing our SayHello() method.
10 Apr 2002 by Len Holgate
This example COM component provides 3 COM objects for using the Win32 Mailslot IPC mechanism. The component may be useful if you need to communicate from VB using Mailslots.
18 Sep 2003 by Zac Howland
An article on using component categories to create pluggable components
31 Aug 2009 by Yalon Lotan
C++ exceptions with embedded stack trace and cause.
23 Dec 2011 by Dan Randolph
Builds on the existing RunRemote project to run commands on a remote server.
8 Apr 2009 by joseangelmt
We are going to enable your application to write entries in HKEY_LOCAL_MACHINE, elevating your application when necessary.
1 Aug 2018 by Ajcek84
Client-side music notation rendering in Blazor
25 Mar 2011 by Sergey Alexandrovich Kryukov
Probably this is because you did not indicate this entry point should be exported from the DLL.Consider__declspec(dllexport) STDAPI DllUnregisterServer(void) { /*...*/ }I suggest you check up what's exported using some binary dump utility such as dumpbin.exe,...
13 Oct 2012 by Maxim Kartavenkov
Article describes basic tasks for implementing your own File Source DirectShow filters.
13 Jun 2013 by Adam Tibi
Exposing .NET functions to be consumed as Excel functions, otherwise known in Excel as "User Defined Functions" . Those .NET exposed functions can be easily used from Excel's cells. This article presents two ways to achieve this and the pros and cons of each.
8 Nov 2015 by koolprasad2003
This article help you to create word table using OpenXML without interop object
8 Apr 2002 by Len Holgate
There's no standard way to save complex COM+ application configuration in a form that can be placed under version control. This article presents 2 scripts that take advantage of the COM+ Catalog accessibility via script to provide functionality that should really come as standard.
26 Apr 2012 by Issam Ali
How to pass native (Delphi) callback pointer to a .net COM assembly
3 Jul 2013 by Ohad Redlich
This article shows how Java application can retrieve user's data from the Active Directory
13 Sep 2014 by koolprasad2003
This tip gives you an idea about how to create Word table using C# (Word automation)
11 Dec 2018 by Chris A. Johnson
This article is about creating a dynamic menuing system for ASP.NET core.
14 Jan 2020 by Chris A. Johnson
This article explains exactly how to setup an SSL certificate for FREE on your Azure account. The existing free SSL with Azure only works on 'non-naked' domains, making it pretty much worthless. This is a 100% free method which ensures your site will be 100% secure.
18 Dec 2021 by Kai Schtrom
Win32_NetworkAdapterConfiguration WMI class in plain C and C++
11 Aug 2000 by Brian C Hart
Here we add a method to our DCOM-remoted object, and start on implementing its functionality.
26 Feb 2010 by Eugen Podsypalnikov
There are two steps:// Set WS_EX_LAYERED on this window SetWindowLong(hwnd, GWL_EXSTYLE, GetWindowLong(hwnd, GWL_EXSTYLE) | WS_EX_LAYERED);// Make this window 70% alphaSetLayeredWindowAttributes(hwnd, 0, (255 * 70) / 100, LWA_ALPHA);Here is only one variable hwnd - handle...
29 Nov 2010 by #realJSOP
You have to install (and/or register) the COM component on that computer.
22 Dec 2014 by Turay Melo
This is an alternative for "Creating an Outlook 2010 Add-In"
6 Oct 2015 by Maxim Komlev
.NET classes to enumerate applications associated with protocol
21 Mar 2016 by B. Clay Shannon
Creating a simple sample Excel Pie Chart, with labeled slices using C# and Excel Interop
16 Aug 2018 by Shashangka Shekhar
In this post, we are going to implement braintree payment gateway with ASP.NET Core 2.1
3 Sep 2018 by Bhairav Thakkar
Basic modal analysis for dynamic response of structures in Python
30 Jul 2020 by DiponRoy
Making schedule jobs exe using Quartz scheduler
24 Feb 2011 by Nish Nishant
You should be good, this is what a lot of the ATL base/template classes do. Example, IDispatchImpl provides an IDispatch implementation base.
24 Feb 2011 by Espen Harlinn
Just use ATL[^] - If I understood your question correctly - it does what you want to do.Having said that - I'd just drop the whole DCOM idea - and go for a mixed mode C++/CLI wrapper aound your 32-bit dll's and expose their services through a 32-bit self hosting WCF service.I've provided...
26 May 2011 by barneyman
if it's got a type library embedded in it, it's fairly easy// get ATL's client templates#include // import the typelibrary direct from the dll#import "" raw_interfaces_only no_namespaceThat will create a .tlh file in your output directory...
7 Aug 2011 by Kunal Chowdhury «IN»
How to get rid of the XAML Design view inside Visual Studio IDE?
1 Nov 2011 by Federico Aponte
An application to inspect a COM TypeLib and generate IDL and .manifest files. The tool is made as an HTML application using JavaScript for the logic.
5 Feb 2013 by Gokulnath007
To get instant control over Outlook and various operations of outlook.
17 Apr 2013 by CPallini
COM has strict rules: Interfaces must be immutable. You must never, ever change the interface in a new version of a COM DLL. You may add interfaces, however.Now, supposing you have (strictly) followed the COM rules, the new DLL, supports the old interface and possibly new ones. IF object B...
10 Aug 2013 by Manas Bhardwaj
How to extract table data from Word document using Aspose Words
19 Aug 2015 by Maciej Los
As CPallini[^] mentioned in the comment to the question, you have to fix it. Try this: How to use the Regsvr32 tool and troubleshoot Regsvr32 error messages - Common solutions for Regsvr32 errors[^].This might be helpful in case of necessity of changes in COM component: Exposing native to...
9 Nov 2015 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.
23 Aug 2019 by Andreask84
A command line tool and a simple C# class with a complete set of functions to easily upload videos on Vimeo
12 Dec 2016 by Leo Chapiro
This article explains how to consume a WebService (SOAP) from plain VisualBasicScript by using a COM DLL written in C#.
19 Nov 2018 by Vivek Johari
Migrating SQL Database to Azure SQL Database using SSMS Export/Import Contents
25 Feb 2019 by hjgode
LED candle light with timer
26 Sep 2019 by Wang Ruofeng, Dirk Bahle
A guide to UIAutomation testing with WPF. Make test code easy to write and maintain.
31 Oct 2022 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.
23 Feb 2024 by CPallini
With objects you do not control (e.g. COM objects internal to the libraries) there's nothing you can do. On the other hand, with objects you do control, you may check the return value of the Release method, at least to inspect the updated...
31 Jan 2001 by Christian S Andersen
A small utility for looking up an object based on a CLSID or progid
20 Apr 2012 by Espen Harlinn
You should take a look at:Excel 2010 SDK: Excel 2010 XLL Software Development Kit[^]There is also XLW - A Wrapper for the Excel API[^].Best regardsEspen Harlinn
3 Jul 2012 by barneyman
As others have said, I'd suspect that the code is currently polling the receive queue, rather than having a dedicated thread sucking it dry, and pushing it into a buffer somewhere20 years ago, I was comfortably getting 115k2 out of a 30Mhz DOS machine with a 16550UART, so these days it's not...
27 Oct 2012 by hevesir
Timer clock for PowerPoint 2007 (PPT add-in).
5 Mar 2013 by jan.mach71
A small tool listing Administrators group members recursively using the ActiveDS library.
3 Apr 2013 by Matthew Faithfull
There's no really sensible or safe way but there is a way. Essentially you can do what CoCreateInstance does by yourself. There are a number of steps and I don't know them all by heart but they will include.Load the Dll with LoadLibraryGet one or more function pointers to the functions...
8 Apr 2013 by The_Inventor
You need a member and method(s) that point to the mschrt20.ocx functions within the mschrt20.ocx module within your module's code. Also you will need to include mschrt20.h in your header file for you module. Then in your OnDraw() use the methods and member, that is in your header file of your...
2 May 2013 by Ian A Davidson
http://msdn.microsoft.com/en-us/library/t8xe60cf(v=vs.80).aspx[^]
3 Sep 2013 by Sergey Alexandrovich Kryukov
This is not so easy. First of all, I would think about using migrating to .NET or using something else. However, the problem is solvable.Please see my past answers:loading C# DLL in MFC[^],How can I use a dll created in Visual Basic 2008 in Visual Basic 6.0[^],Call Managed DLL written in...
30 Jul 2018 by Dave Kerr
How to animate SVG with pure JavaScript
17 Oct 2018 by Bahrudin Hrnjica
Sentiment analysis using ANNdotNET
5 Jan 2019 by Arkadeep De
Azure Storage Account - what is blob?
26 Mar 2019 by thoughts-on-coding
Introduction into an Automated C++ Build Setup with Jenkins and CMake
25 Apr 2019 by thoughts-on-coding
Implementation of Numerical Integrations with Trapezoidal and Simpson Rule Approach.
20 Nov 2019 by Jeremy Likness
Blazor and WebAssembly examples (part of a Blazor presentation)
26 Feb 2020 by Lukasz Szyrmer
Experimenting with output using three different alternative ways of working
9 Mar 2022 by SiretT
Console app to share internet connection with other network interface
12 Jul 2009 by Baltoro
You don't say how you instantiate the COM Server, but if it's an out-of-process server, or a component that you access from a remote machine, and you are a client of that server, then the COM library uses the RPC protocol to transfer the data...
13 Jul 2009 by «_Superman_»
Take a look at the tutorial - How to add ActiveX content to your web pages[^]By automatically register, if you mean the component must be registered without notifying the user, that is a matter of security settings at the client. «_Superman_»I...
15 Jul 2009 by Randor
I believe you are looking for the WM_DEVICECHANGE Message[^]. Note that your application will not recieve this message by default. You will need to call the RegisterDeviceNotification Function[^] to register to receive device change...
3 Apr 2010 by Rod Kemp
To learn how to create plug-ins for Windows Media Player, see the Windows Media Player SDK[^].This should outline what you can and can't do with a plug-in in WMP.
15 Oct 2010 by 401unauthorized
Allows working with most .NET classes in any COM-aware programming or scripting language
17 Jan 2011 by OriginalGriff
If you are saying that you want to build a web site that can read a word document, and display (and presumably edit) it exactly as it would be in word, then I'm afraid you have a lot of work to do. And I do mean a lot. As in a couple of million man-hours (that is an educated guess, but it won't...
24 Jan 2011 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...
2 Feb 2011 by Sergey Alexandrovich Kryukov
Well, first and best advice would be to trash your "commercial application" and blacklist the company which develop this stuff :). Well, beyond the jokes...If you cannot afford that step, there is a class of utilities called "COM Port Redirector"; it will do the trick....
25 Feb 2011 by Joel C Graff
A method for managing complex, event-driven interactions between controls
25 Mar 2011 by Single Step Debugger
He guys I’m banging my head over this the entire day and so far no joy. The facts:I have a rather big COM object (> 1M LOC) which fails to unregister and is living a huge fingerprint in the registry. In the beginning there was no DllUnregisterServer entry point so I added it, but for some...
25 Mar 2011 by Wendelius
Are you missing the entry point in order to export the function? Additional info about the messages: http://support.microsoft.com/kb/249873[^]
15 Apr 2011 by JF2015
Hi,have a look at the Sysinternals "Procdump" tool. This tool should be able to create crash dumps in 64Bit mode:http://technet.microsoft.com/en-us/sysinternals/dd996900[^]
26 Jun 2011 by SCraw2855
Greetings all,First of all, let me apologize for newbingly not knowing where to address this question properly, as I'm somewhat "green" behind the ears when it comes to coding. I have a feeling that the answer to my question is very easy, but I'm tired of fighting it. A friend gave me a few...
12 Jul 2011 by Richard MacCutchan
As far as I am aware the only way to have any communication with the client, is if the client provides a callback link to the server. However, even then it would be difficult to determine the state of the client without some predefined protocol.
31 Aug 2011 by Joshua Lunsford
This is a tutorial on expanding the behavior of a SCCM 2007 Task Sequence to interact with a user
8 Sep 2011 by Malli_S
I'm trying to develop a bluetooth application in Windows Phone 7. I found WP7 doesn't provide bluetooth SDK. So I thought to implement the required functionality in C# assembly and import it in phone application. But WP7 even doesn't allow this importing as well. So thought of to develop a COM...