Related resources for interop
  • Code readability is enhanced with C# 10 top-level statements4/16/2024 10:18:02 AM. Ziggy Rafiq discusses tackling challenges in software component specification standards through the implementation of solutions such as adapters and bridges for standard mediation, abstraction and enc
  • Remote Procedure Calls using SOAP4/4/2024 9:32:03 AM. Explore the seamless integration of systems through Remote Procedure Calls (RPC) using SOAP (Simple Object Access Protocol). SOAP facilitates communication between distributed applications, ensuring i
  • Localization In Blazor App Using Microsoft.JSInterop 2/25/2024 8:23:25 AM. We will see how to achieve localization in Blazor app using Microsoft.JSInterop API. In this article we will see how to achieve localization in Blazor app using Microsoft.JSInterop API.
  • COM Interoperability Part 1: Using COM Components in .NET Framework2/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
  • Understanding Cross Language Interoperability With C# .NET2/1/2024 10:45:16 AM. This article explains case sensitivity/insensitivity of cross language interoperability in Microsoft .NET that allows compliant languages to interoperate with each other.
  • Export DataTable To Excel in C#12/6/2023 9:30:03 AM. In this article, learn how to export a DataTable to an Excel file using C# and ADO.NET.
  • Hello World In different Styles10/26/2023 9:43:29 AM. I've attempted to write the traditional 'Hello World' in different styles. This explores the different possibilities of addressing a problem - 'Hello World' with different features
  • Text to speech using C#9/10/2023 9:50:07 PM. This Article explains how to convert text to speech using C#.
  • Running a Web Site in Kiosk Mode with C#9/4/2023 12:02:44 PM. This article addresses a simple approach to supporting the display of a web site in kiosk mode using a simple win forms application.
  • What is Non-Functional Requirements?7/31/2023 10:54:15 AM. A Non-Functional Requirement (NFR) is a type of requirement in software and system development that specifies criteria for the performance, behavior, and qualities of the system, rather than defining
  • Clicking a Button in Another Application7/27/2023 9:20:10 AM. This article provides a simple sample of an application that clicks a button in another application.
  • Installing a Service Programmatically6/1/2023 8:36:30 AM. With the arrival of .NET, creation of a windows service has become a piece of cake by just selecting Windows Service as project type in the New Project Dialog Box.
  • Interact With Javascript In Blazor App1/9/2023 8:21:36 AM. Let's breakdown JavaScript interoperability with this article.
  • 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,
  • Read Excel File Using Microsoft Interop Library7/6/2022 3:51:51 AM. In this article, you will learn how to read excel file using microsoft interop library.
  • CUDA integration with C#3/31/2022 10:19:36 AM. This article will focus on how to create an unmanaged dll with CUDA code and use it in a C# program. The example will show some differences between execution times of managed, unmanaged and new .NET 4
  • Append Data Tables Side By Side Using Excel Interop2/21/2022 1:46:16 PM. In this article, we will discuss how to append multiple data tables on a single worksheet side-by-side.
  • C# and its Features1/12/2022 9:25:32 AM. C# is a modern, type safe programming language, object oriented language that enables programmers to quickly and easily build solutions for the Microsoft .NET platform.
  • Exporting Generic List<T> to Excel in C# Using Interop1/11/2022 10:23:17 AM. In this article, we will learn how to export a Generic List&lt;T&gt; to Excel using Interop.
  • The Basics of .NET Framework Interoperability1/6/2021 10:18:52 AM. The System.Runtime.InteropServices namespace defines classes where some of which define methods that enable managed code to call native code. This is accomplished via an internal call and is called th
  • A Generic Library For Accessing and Creating Microsoft Project Plan File1/1/2021 5:41:29 AM. Here you will learn about a generic library for accessing and creating Microsoft Project Plan files.
  • COM in .NET12/6/2020 9:49:37 PM. This article explains how .NET applications interoperate with COM and vice-versa using RCW and CCW.
  • Cross Language Interoperability With C# .NET12/2/2020 11:34:51 PM. As you know Microsoft .NET is designed with cross language interoperability. I.e. two .NET compliant languages can interoperate with each other. Which simply means a function in VB .NET can be called
  • Programmatically Swapping Mouse Buttons10/28/2020 1:27:51 AM. In this article we will learn how to swap mouse buttons programmatically - to make the left button acts as the right and vice versa.
  • Printing Directly to the Printer5/21/2020 4:45:47 AM. Using this code enables you to print directly to the printer using WIN32 api calls and therefore should enable you to print at maximum speed rather than relying in the Windows Printing subsystems.
  • Export Model List To Excel In C# (Using Interop) - The Easy Way!1/21/2020 7:30:43 PM. In this article, you will learn how to export entity lists to Excel without using any library.
  • Kotlin-Regex And Java Interoperability9/5/2019 10:23:21 AM. In this article, you will learn about the concept of Kotlin Regex and Java Interoperability.
  • Creating an Excel Spreadsheet Programmatically5/14/2019 6:40:28 AM. In this article, we will see to create excel, make visible, add a new workbook and to set a value for cell in the Excel file using C#.
  • Export DataGridView Data to Excel in C# Without Saving to File System5/14/2019 12:15:48 AM. In this article, we will learn how to Export DataGridView data to Excel in C# without saving to Local File System.
  • Calling Managed Code From Unmanaged Code2/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
  • Interoperability Of Kotlin - Calling Java Fragment In A Kotlin Activity1/14/2019 8:39:57 AM. This article tells the process of calling a Java code into Kotlin activity. We will see how two different extension files like .kt and .java communicate with each other.
  • Display and Hiding SIP on Pocket PC in VB.NET12/18/2018 2:49:52 AM. When you get your hands on a Pocket PC for the first time you have to wonder just how the heck do you enter information.
  • Invoking Unmanaged DLL Functions from Compact Framework for Pocket PC12/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.
  • Understanding JavaScript Interop In Blazor10/4/2018 11:31:29 PM. Blazor is a .NET framework that runs in the browser on a real.NET runtime (Mono) via Web Assembly. Blazor is an experimental project and till date, it is not in production and so many changes are goin
  • JavaScript Interop In Blazor8/27/2018 11:53:37 PM. In this article, we will understand what JavaScript Interop is and how we can implement it in Blazor with the help of VS Code.
  • Converting PowerPoint Presentations (PPT/PPTX) To PDF Using ASP.Net Core with Office Interop C#6/8/2017 7:24:28 AM. In this article, I am going to share with you one of my great experiences on converting PPTX/PPT to PDF file.
  • Read And Write Spreadsheet Without Any Dependency11/1/2015 11:46:36 AM. In this article you will learn how to read and write spreadsheet without any dependency.
  • .NET Cross Language Interoperability2/8/2015 10:46:32 PM. This video tutorial demonstrates the .NET Interoperability using C# and VB .NET.
  • Reading Merged Cell From Excel Using Microsoft.Office.Interop.Excel in C#11/14/2014 3:30:40 PM. This article describes how to read an Excel file that has merged columns within it.
  • How to create a COM application and consume it from within VC++6.0 - .Net and COM Part III9/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.
  • How to create a COM object using VS 2008 and consume it from VB 6.0 client application: Part II9/4/2014 5:09:03 AM. In this article, we will see how to create a simple COM application in Visual Studio 2008 and how to consume it from a VB6 client application.
  • Introduction to the interoperation between .Net and COM: Part I9/4/2014 5:04:32 AM. This is a brief introduction to the COM component object model.
  • Cross-Language Interoperability in .NET Framework7/2/2014 7:35:04 PM. This article shows how to create a Class Library file in C# (in other words a DLL file) and will use that DLL file in a Visual Basic application.
  • Creating a Sound Recorder in C and C#2/4/2014 3:25:18 PM. In this article we will learn how to record audio and play sound files in C and C#.
  • Solutions to Merge Multiple Excel Worksheets Into One1/21/2014 6:08:54 PM. In this article you will learn about 4 ways to merge multiple Excel Worksheets into one.
  • Writing HTML Content to the Screen in Word Document Format In a Server1/8/2014 2:17:51 PM. This article explains a smple way to create a Microsft Word document representation of some HTML in a server.
  • Spelling Checking Using Microsoft Word Object Library in WPF7/26/2013 3:30:46 PM. This article shows how to check for misspelled words in a document (in a WPF Rich TextBox) using the COM Object "Microsoft Word Object Library".
  • ActiveX Controls in VB.NET12/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.NET12/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.
  • Getting NASDAQ Quotes with a Pocket PC in VB.NET11/10/2012 9:59:12 AM. This article describes about getting the NASDAQ Quotes with a Pocket PC. If you have been lucky enough to get the Compact Framework or Smart devices extension beta for April 2002 you may.
  • Great Plains Dexterity programming in VB.NET11/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 311/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.NET11/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 211/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.
  • Exploring VB.NET Arrays11/10/2012 2:07:45 AM. There are few differences between VB6 and VB.NET arrays. This article explains how VB.NET arrays differ from the VB6 arrays.
  • JIT Coding in VB.NET11/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.
  • Just for Fun - A Small Piano Keyboard in VB.NET11/9/2012 9:05:14 AM. This one was just for fun; the article describes a project used to build a simple piano keyboard that plays some not too terrific sounding notes courtesy of the Kernel32.dll’s beep function.
  • Visual Basic Spell Check Enabled Rich Text Box Custom Control11/9/2012 8:15:48 AM. This article describes a quick and simple approach to applying a spell check function to the rich text box control and bundling both features into a single custom control.
  • Building Applications that Can Talk in VB.NET11/8/2012 6:56:58 AM. In this article we are going to explore the Speech API library that’s part of the TTS SDK that helps you reading text and speaking it. We’re going to see how to do it programmatically VB.NET and how to make use of LINQ to make it more interesting. The last part of this article talks about won’t tell you more, let’s see!
  • Best Approach for Designing Interoperable Web Service10/13/2012 5:52:26 AM. This article will clarify and explain in detail the different Web Service Design Methodologies as defined by the Web Services Standardization Groups, clarify the terms, highlight their differences.
  • Building Applications with .NET Compact Framework10/1/2012 8:25:52 AM. In this article, author explains various components of Microsoft .NET Compact Framework and how to build compact device applications using .NET Compact Framework.
  • Using COM+ SPM in .NET9/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.
  • Stock Paper Trader in C# and .NET9/30/2012 6:04:07 AM. The attached source code project is a paper trading application that allows you to place imaginary trades on real data. I thought this would be fairly easy to duplicate having already written a stock capturing program into Excel.
  • 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 Framework9/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-Interoperability9/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.
  • Interoperability in .NET9/30/2012 5:39:00 AM. The important goals of .NET during its development was to promote interoperability with existing technologies.
  • ValidationScriptGenerator9/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 Framework9/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 2: Using .NET Component from COM9/30/2012 5:12:25 AM. When a COM client calls a DotNet object, the DotNet framework will create a COM callable wrapper (CCW). COM clients use the CCW as a proxy for the managed object.
  • .NET COM Interoperability - Part 1: Using COM Components from .NET Framework9/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.
  • Host Integration Server 2000 : An Overview9/30/2012 4:58:43 AM. This white paper highlights some of the features offered by Microsoft's Host Integration Server 2000. This white paper also gives an overview of key benefits and features in Host Integration Server 2000.
  • Creating an Excel Spreadsheet Programmatically9/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 DLL9/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.
  • An insight into Code Reusability and COM Interoperability - Part 29/30/2012 4:46:59 AM. We have mushrooms of network systems running across the globe based on many proprietary protocols. In order to integrate these systems to communicate with each other in a more meaningful way, developers or organizations have to face an uphill task.
  • Language Independence from COM to .NET9/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 Document9/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 Wallpaper9/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.
  • Web services with Language Interoperability9/30/2012 3:49:20 AM. A web service in general is a way of exposing the properties and methods through the Internet In other words, it's an URL-addressable resource that programmatically returns information to clients who want to use it.
  • Interop Without PInvoke - Consuming Native Libraries in C#.9/30/2012 2:36:44 AM. This article will help get you started consuming native code with C# by writing your own interop layer in C++/CLI as a much cleaner and more flexible alternative to using PInvoke.
  • Interoperation & Processing EXCEL Sheet Data9/30/2012 1:55:34 AM. Here we are discussing INTEROPERATION with example of Excel Sheet processing.
  • Using Reflection and With Class2000 to view the .NET System.Drawing library Part I9/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.
  • .NET Interoperability at a Glance 3 - Unmanaged Code Interoperation6/12/2012 1:04:42 AM. This is the last article in this series, it talks about unmanaged code interoperation; that’s, interop between .NET code and other code from other technologies (like Windows API, native libraries, COM, ActiveX, etc.)Be prepared!
  • SOAP, .NET, and COM an Introduction - Part II5/19/2012 7:04:37 AM. This article starts with the basics of SOAP, SOAP XML model and its data types followed by the integration of SOAP functionality in .NET class library and how .NET developers can take advantages of SOAP in their applications.
  • Using Cards.dll in a Windows Control Library5/19/2012 5:47:32 AM. This project aims at designing a windows control library that encapsulates a playing card.
  • Transparent Borderless Forms in C#5/15/2012 4:21:03 PM. This article describes an approach to display transparent forms in a Windows application.
  • Moving a Form without the Title Bar5/13/2012 5:57:37 AM. In this article, learn how to to allow the user to move the form without its title bar.
  • Language Interoperability4/21/2011 3:54:48 PM. .NET Language interoperate with each other that is code of one language can be consumed from other after getting converted to IL.
  • Examples of COM Automation in Silverlight 43/31/2011 7:57:07 AM. In the previous lesson we talked about COM automation support introduced in Silverlight 4 and we said that COM automation is available only for Silverlight OOB (Out-of-Browser) applications that have Elevated Trust, and that’s one of the security restrictions imposed by Silverlight.Today, we’re going to talk about COM automation in more details and give few Silverlight examples that make use of this great feature.
  • Clearing the Console Screen using API 2/11/2011 12:42:03 AM. Learn how to clear the Console screen using Win32 API calls. Also learn additional techniques like how to clear a specific portion of the screen or to move it.
  • How to create Silverlight Object in the HTML-Interop2/10/2011 2:08:41 PM. Browser interoperability with Silverlight and vice versa has raised many possibilities for interesting interactions and use of javascipts in ways similar to their use in ASP.Net
  • Building Applications that Can Talk1/21/2011 10:48:05 PM. In this article we are going to explore the Speech API library that’s part of the TTS SDK that helps you reading text and speaking it. We’re going to see how to do it programmatically using C# and VB.NET and how to make use of LINQ to make it more interesting. The last part of this article talks about…… won’t tell you more, let’s see!
  • How C# new dynamic type can simplify access to late bound COM object1/10/2011 3:11:35 PM.
  • .NET Interoperability at a Glance 2 – Managed Code Interoperation1/6/2011 1:11:55 AM. In the previous article, you learned what interoperability is and how it relates to the .NET Framework. In this article, we’re going to talk about the first form of interoperability, the Managed Code Interop. In the next article, we’ll talk about other forms.
  • .NET Interoperability at a Glance 1 – Introduction12/27/2010 12:33:04 AM. In this article and the few following it, we’ll try to take a tour in Interoperability in .NET Framework.
  • Export Image to Microsoft Office Excel using C#8/19/2010 2:51:08 AM. Here I am trying to show how we can export an image to excel file.