Top "Com-interop" questions

COM interop is the layer that allows .NET assemblies to communicate with standard COM objects and libraries.

Retrieving the COM class factory for component with CLSID {XXXX} failed due to the following error: 80040154

I developed a Windows service using C#.NET to generate PDF report. To generate PDF file I am using a …

.net windows-services com-interop 32bit-64bit
How do I properly clean up Excel interop objects?

I'm using the Excel interop in C# (ApplicationClass) and have placed the following code in my finally clause: while (System.…

c# excel interop com-interop
Turn a simple C# DLL into a COM interop component

How do I make a C# DLL into a COM interop DLL that can be consumed by a VB6 application?

c# .net com interop com-interop
unable to cast COM object of type 'microsoft.Office.Interop.Excel.ApplicationClass' to 'microsoft.Office.Interop.Excel.Application'"

This is my first attempt to capture some data from excel from within one C# console application. I get the …

c# excel com-interop
What causes error HRESULT: 0x80010105 (RPC_E_SERVERFAULT)?

I created a ASP.NET web service that uses a 3rd party payment processing engine to authorize credit card transactions. …

.net web-services com-interop
an unhandled win32 exception occurred in w3wp.exe

I get the following exception when trying to load an ASP.NET MVC website: Unhandled exception at 0x07070a91 in …

c# asp.net asp.net-mvc iis-7.5 com-interop
Type exists in 2 assemblies

I have created two .NET Interop assemblies from two different third-party COM DLLs. Both of the COM DLLs contained a …

c# com-interop
"Register for COM Interop" vs "Make assembly COM visible"

What is the real difference between these two options? What I know is: Register for COM Interop This options executes …

.net visual-studio com-interop compiler-options
What does "Register for COM Interop" actually do?

What exactly does the VS project option "Register for COM interop" actually do? Because when I build my library with …

visual-studio visual-studio-2010 com-interop
C# Excel interop, put a line break in the text of a cell in a Excel

I am writing an Excel sheet using interop. In the sheet I need to put a set of sentences in …

c# excel com-interop