Click here to Skip to main content
14,546,625 members


Great Reads

by Jeffrey Walton
Import and export Cryptographic Keys in PKCS#8 and X.509 formats, using Crypto++, C#, and Java.
by Szymon Roslowski
Just another approach to understanding communication between HID devices and C#.
by Martin Mitáš
How to support scrolling within your controls.
by Dave Kerr
Create Shell Icon Overlay Handlers using .NET!

Latest Articles

by Arthur V. Ratz
In this article I will thoroughly discuss about the several aspects of using the revolutionary new Intel® oneAPI HPC Toolkit to deliver a modern code that implements a parallel “stable” sort
by Doctor Autonomy
A surprisingly easy way to avoid memory leaks with new/delete allocations in C++
by NewPast
Indent code, add line numbers, err handling, Add number to words and more, Expose a .NET library to Microsoft Word, Excel, Power Point macros writers and Access VBA code
by Steffen Ploetz
YES, you can - use native DLLs in your Azure Functions via P/Invoke ([DllImport]) as you already know it from .NET Framework, and safe the code you have developed and maintained for decades with much effort and patience.

All Articles

Sort by Title


12 Dec 2014
Yuriy Magurdumov
Calling native methods from .NET application via standard Windows Named Pipes
17 Apr 2008
A simple yet useful library for file based logging implemented in .NET using C#
15 Sep 2013
Dave Kerr
Learn how to deploy SharpShell servers easily with the new Server Registration Manager tool
29 Jun 2019
Dave Kerr
Rapidly create Shell Context Menu Extensions using .NET
19 Jan 2015
Dave Kerr
Rapidly create Shell Icon Handler Extensions using .NET
14 Sep 2013
Dave Kerr
Create Shell Icon Overlay Handlers using .NET!
5 Apr 2013
Dave Kerr
Rapidly create Shell Info Tip Extensions using .NET
20 May 2014
Dave Kerr
Quickly create Shell Preview Handlers for Windows or Outlook using .NET!
7 Apr 2013
Dave Kerr
Use .NET to rapidly build Shell Property Sheets
17 Mar 2013
Dave Kerr
Create Shell Thumbnail Handler Extensions using .NET!
4 Jan 2020
The Ænema
Here's the best, beautiful and easiest way to create an animated and smooth sliding scroll viewer in WPF Platform (Windows Presentation Foundation).
6 Aug 2007
Omar Al Zabir
Learn about 13 production disasters that can bring down your business
14 Jan 2013
Pavana Sreesha
Why is your Application's Memory platform dependent?
24 Aug 2008
64 bit pointers are wasteful if you don't need to access TBs of RAM
12 Jul 2008
Norman Solomon
Easy addition of a 3D Tabstrip page to an ASP.NET project.
26 May 2012
Hoang Khanh Nguyen
A .NET wrapper for NT Registry and a .NET NT RegEdit demo
18 Dec 2013
Hari Mahadevan
Describes a C++ class that encapsulates the WaitForMultipleObjects API usage pattern making it easy to integrate it with C++ objects.
9 Jan 2014
Hari Mahadevan
Describes a C++ class that encapsulates the WaitForMultipleObjects API usage pattern making it easy to integrate it with C++ objects.
27 Apr 2008
Derek Bartram
This library provides a framework for using Code Project article information in applications, and provides a utility for monitoring articles
1 May 2008
Derek Bartram
This library provides a framework for using Code Project article information in applications, and provides a utility for extracting user information
8 May 2008
A Cool Vista Sidebar Gadget Style CPUInfo Animate Control! (Fixed)
24 Mar 2015
Carlos Jiménez de Parga
Explanation of a consistent 3D graphics software architecture through a basic OpenGL application
25 Apr 2008
Derek Bartram
A demonstration application for showing the use of the WPF Ribbon Control as presented elsewhere
9 Aug 2011
Rodrigo Cesar de Freitas Dias
Writing a dialog based program using only pure Win32 C code.
17 Dec 2013
Mike Gledhill
How to easily add an "export to Excel" feature to your app
22 Mar 2008
Derek Bartram
An article presenting ProceedureDialog.dll, a custom control for creating wizard style interfaces / procedure dialogs
22 Mar 2008
Derek Bartram
An article presenting Ribbon Builder, a tool for creating ribbon controls
16 Dec 2010
CheckGroupBox, RadioGroupBox, CollapsibleGroupBox controls
6 Apr 2008
Derek Bartram
An article presenting the Quick Access Toolbar as part of RibbonControl.dll, as seen in Microsoft Office 2007
22 Mar 2008
Derek Bartram
An article presenting ApplicationButton used in creating round buttons as per Microsoft Office Style application buttons
24 Mar 2008
Derek Bartram
An article presenting a library for producing communication based application utilising the MSN Messenger services and protocols.
26 Nov 2014
Jeremy Falcon
Provides a base to use when programming OpenGL-enabled applications for the real world, rather than a simple hello world.
4 Jun 2009
Connecting and disconnecting network drives
5 Aug 2014
A Simple Profiler for C++ apps on x64 platform
26 Apr 2010
Chuan-Liang Teng
Access physical memory, I/O port in user mode
5 Mar 2010
A simple control to draw graphs of points as a function of time
31 May 2010
Daniel Cohen Gindi
This is a nice and simple approach that I came up with in order to delete temporary files even long after I forgot about them.
1 Aug 2017
Arthur V. Ratz
In this article, we'll discuss on how to use HTML/CSS/JavaScript/Ajax to create a simple lightweight Windows Vista/7 sidebar desktop gadget that allows to preview featured articles contributed to CodeProject's web site
21 Feb 2012
Krishnachytanya Ayyagari
This article is a study of Windows 8 'Contracts' - why they are introduced? what they really are? and how they can be created?
21 Sep 2014
A USB library to detect USB devices, and manage Attach and Detach events
2 Nov 2011
A threaded application to identify if system VB6 OCX files are exploitable and generate a batch file to register updated OCX controls.
13 Jun 2011
Olabenjo Tunde
This is a simple video converter I developed with .NET while playing with ffmpeg.
26 Apr 2008
Derek Bartram
A WPF Digital Clock for displaying the current time, styled using RibbonStyleHandler
24 Apr 2008
Derek Bartram
An article presenting a WPF library for producing extensible runtime customisable graphs
12 Mar 2008
Warrick Procter
Get the path names to Windows special folders; optionally create the folders if they are missing; access physical and virtual special folders.
7 Oct 2016
digital performance
This article shows how to access Windows API with plain x64 assembly programming language (MASM style). It shall also give an overview, how to apply some programming techniques like OOP and multithreading on a low level.
14 Jan 2020
honey the codewitch
Easily add scripting support to your apps using Microsoft's active script technology
13 Feb 2009
Allows to maintain and backup your contacts and also maintains a reminder. You can store data in any of the three different databases like Microsoft SQL Server, MySql, Microsoft Access
14 Apr 2018
Andy Galluzzi
Join me to create the most advanced yet most simple to use full duplex MMF based IPC for Windows
13 Jul 2009
A template class for multi-dimensional regions for any coordinate type.
26 Aug 2016
T. Herselman
C++11 header-only class, executes functions on a separate thread, including return values. Featuring a unique custom built, low level, lock-free double buffered queue; with a high speed data format, executes a queue of functions in only 6 CPU instructions; lea,call,mov,add,cmp,jb
25 Feb 2016
A windows-service which has a fall service on a second server, if the server it's running on, crashes
17 May 2012
Jim Parsells
Explorer TreeView control with Shell Folder access class and Icon management.
9 Nov 2008
Joshua Tully
A look into what goes into the area of preventing reverse engineering, and gives developers some functions and ideas about preventing reversing engineering of their programs.
31 Mar 2009
The way to get your splashscreen going in a few lines of code.
20 Feb 2009
Vitaliy Liptchinsky
This article describes the basic ideas of how to build workflow engine a-la WF based on F# workflows and CCR
4 Jan 2008
Jibu is a high-level multithreading API for .NET 2.0 and above.
26 Apr 2008
Derek Bartram
This article, the first of a series of articles, presents an objective analytical analysis of language performance for Java and C# .NET
7 Mar 2013
Inspired by Android asynchronous callback mechanism for short lived background tasks.
25 Feb 2015
This article discusses how to create animated controls using graphic layers.
7 Apr 2016
Apriorit Inc, Kulchytskyi Oleg
Several approaches of anti-debug protection and some tips about how they are usually neutralized by reversers
2 May 2011
Asif Bahrainwala
Snoop network using API hooking
18 Feb 2010
Tiago Conceição
Application Management makes your application's life easier. It will automatically do memory management, handle and log unhandled exceptions, profile your functions, make your application single instance, and also provide utility functions to get system information.
6 Apr 2008
Jeffrey Walton
Encrypt data using Block Ciphers with Crypto++.
11 Jan 2008
Makesh Sanwal
You may have to give access or hide controls based on the user logged in. This article would help you write custom code to show/hide or enable/disable controls
31 Mar 2011
Gregory Gadow
Prank your coworkers with a dialog box that appears and disappears randomly by using a notification area app.
27 Jun 2006
An editor for 64-bit assembler code.
6 Jan 2013
Captain Price
Several ways of associating a class or a structure with a window and their differences
7 Jan 2013
Jason Curl
Describes the usage of Asynchronous I/O with I/O Completion ports with .NET
13 Apr 2017
Stereo mix audio capture with peak level display
13 Mar 2008
Paul Coldrey
Resolution of a nasty problem with WPF HttpRequests via a proxy.
1 Jan 2011
Ashish Kaila
Learn how to leverage UI automation in testing your UI and also to support accessibility features
31 Dec 2007
In this article, we will describe how information generated on data acquisition devices connected to servers running Windows Server 2003 can be efficiently integrated into Microsoft Office SharePoint Server 2007 using Windows PowerShell.
22 Aug 2017
This article revises the HTML authoring tool, HTML TOC Generator, that generates a Table of Contents for an HTML document. Optionally, the tool will number the HTML headers.
27 Nov 2014
Member 10951710
A simple extension to the original TextBox, allowing simple calculations (+, /, *, -)
2 Jun 2015
Artur Zgadzaj
Batch run as Administrator - automatic increase administrative privileges in Batch scripts like BAT and CMD - universal tools Batch_Admin
27 Aug 2008
Here is a class that will help you to control the execution of your threads that involves looping/polling and also limits their CPU usage to a specified limit.
7 Jan 2009
Louis T Klauder Jr
A C# project providing arbitrary size integers and simple arithmetic to base 1e18
6 Oct 2010
Pawel idzikowski
How to serialize binary data to IsolatedStorage in a Silverlight client when there is no BinaryFormatter in Silverlight? Why not with sharpSerializer? - An open source XML and binary serializer for .NET and Silverlight
12 Oct 2016
Mahmoud Samir Fayed
Getting started with 2D games development and build the Flappy Bird 3000 game using the Ring programming language.
1 Jan 2011
Ashish Kaila
A docking window solution using WPF as part of Synergy toolkit
8 Jan 2009
Tamir Khason
This article explains how to build a simple FM radio player with RDS support by using WPF and USBFM library
3 Jun 2012
An in-depth reference of how to build performance-oriented applications in WPF for both Windows and the Web.
4 Jan 2013
Pawel idzikowski
How to effectively build modular .NET applications of any size using messages, commands and components of MCM-Framework.Net?
20 Aug 2008
Christoph Husse
This article shows how to bypass PatchGuard 3 on the latest windows versions.
12 Feb 2019
An article about Huo Chess, a chess program in C++ and C# that attempts to be smaller in size than the Commodore-era Microchess
13 Sep 2008
Zacky Pickholz
A class for calculating sunrise and sunset times, implemented as a thread-safe Singleton
3 Sep 2018
Michael Chourdakis
Easy to use simple parser with S/MIME Support. Version 2.
2 May 2010
Chien-Chung, Chung
C++ class of HMAC-SHA1
6 Dec 2016
Jon Campbell
Using "thunk" technique to add this pointer as fifth parameter to WndProc call for x32 and x64
21 May 2012
Zimin Max Yang
An approach to improve LINQ-to-SQL performance while preserving maintainability over DataReader.
8 Jan 2009
Louis T Klauder Jr
A simple C# user function call tree lister.
3 Sep 2013
Eric Reynolds
ExcelPython is a lightweight COM library which enables you to call Python code and manipulate Python objects from Excel VBA.
14 Apr 2019
Evgeny Pereguda
Simple SDK for capturing, recording and streaming video and audio from web-cams on Windows OS by Windows Media Foundation.
16 Mar 2015
Rolf Kristensen
A custom draw CListCtrl with subitem editing and formatting
21 Aug 2014
Easy to use command line argument parser, with loaded features like usage creation, type-safe management etc
22 Apr 2013
Karl Runmo
Arbitrary precision calculations
23 Feb 2010
Ivo Beltchev
Classic Start menu and other shell features for Windows 7 and Vista.
19 Dec 2016
Machine Learning. What languages come to mind? R? Python? Matlab? Bet you didn't think Visual Basic.
15 Aug 2010
Sharan Basappa
This code shows how to host a third party application inside your own process Window, like Google Chrome & Internet Explorer 8
12 Jul 2016
David A. Gray
Share Win32 string resources without the risk of conflicting resource IDs
11 Nov 2010
Ajay Vijayvargiya
Learn about parallel algorithms, parallel containers, tasks, task groups, agents library, task scheduler etc in VC10
8 Jul 2016
A Winforms control that looks like a console screen, with full reading and writing support.
12 Jan 2014
Michael Trembovler
The current article might be useful for users attempting to use NServiceBus. It contains detailed instruction for creating pairs: publisher-subscriber through ServiceMatrix. Solution architects may find this technique useful in many CQRS scenarios as a good alternative to WCF.
27 Dec 2010
Ashish Kaila
Declaratively and visually create custom windows in WPF
31 Oct 2012
Eder A. Castro
This tool captures a screen shot of anything on your desktop, like a picture or a section of webpage. This tool allows you to select a partial section of the whole screen with shortcut key.
16 Nov 2009
Gerard Castelló Viader
Making a typical client - server chat application
10 Dec 2010
Beavis Killer
This article demonstrates how to write a domain service factory to host plain old class object (POCO) entities and use them through RIA Services in Silverlight version 4.
2 Apr 2012
How to create a Facebook like website previewer user control for Winforms in C#
12 Mar 2009
How to create a Sudoku game with speed in mind.
23 Jul 2009
How to create system restore points for Windows in C# with PInvoke
21 Aug 2019
Johnny J.
Easily add image cropping to your desktop application
5 Jun 2008
Jeffrey Walton
Import and export Cryptographic Keys in PKCS#8 and X.509 formats, using Crypto++, C#, and Java.
11 Dec 2014
Martin Mitáš
Overview of techniques for customizing existing controls.
11 Dec 2014
Martin Mitáš
Few techniques for getting rid of customized-control-specific code from parent window procedure.
26 Feb 2018
Martin Mitáš
How to support scrolling within your controls.
17 Mar 2014
Martin Mitáš
Make your control answer to the questions system or application may ask.
12 Dec 2014
Martin Mitáš
A quick introduction into the development of custom controls in plain Win32 API.
12 Dec 2014
Martin Mitáš
Understanding the basics of custom control painting and avoiding the trap of control flicker
17 Mar 2014
Martin Mitáš
Paint your control consistently with standard/common controls, using the visual styles API.
15 Jun 2016
Vishnu Prasad C
Data insertion from flat file into SQL through BCP utility
1 Oct 2013
Espen Harlinn
A reflection based wrapper for the Oracle Data Provider for .NET – allows your application to dynamically load the Oracle.DataAccess.dll assembly installed on your client’s computer.
20 Jul 2008
Johann Anhofer
An easy to use debug logger, implemented via a custom stream buffer.
20 Mar 2009
Jeffrey Walton
Using WinDbg to survive in a .NET world.
2 Nov 2019
Alaa Ben Fatma
Use your skills as a designer to create gorgeous control
23 Sep 2016
Angel Gabriel Valdés Sarduy
It tests an ANN structure selector criteria for generic kinds of problems with ANNs.
19 Dec 2011
David Catriel
Creating a .NET trigger for SQL Server that will log (down to the field level) all changes made to tables.
30 Mar 2006
Bruno van Dooren
This article describes the process of developing a USB Kernel mode device driver using the WDF Kernel Mode Driver Foundation.
10 May 2009
Michael Chourdakis
Draw your vectors using a new, ActiveX based hardware accelerated interface.
9 Apr 2015
Dirk Bahle, Alex Maitland
How to implement a ResourceHandler in CefSharp to display custom HTML in WPF
21 Mar 2017
Tutorial to explain how to integrate a Markdown documentation in a WPF application using DocuPanel.
16 Mar 2009
Mohammad Reza Khosravi
A simple program to draw complex fractal Trees
15 Jun 2009
Eugene Sichkar
Implementing native WinForms flicker-free TreeView and ListView descendants
25 Apr 2008
Derek Bartram
An article presenting a basic dynamic formula processor (including an infix to prefix convertor)
24 Mar 2008
Derek Bartram
An article demonstrating quite how easy dynamic loading it (and why you should use it).
14 Aug 2008
Christoph Husse
Now supports an unmanaged API, kernel mode hooking, and extending unmanaged APIs with pure managed handlers since Windows 2000 SP4.
8 Apr 2009
We are going to enable your application to write entries in HKEY_LOCAL_MACHINE, elevating your application when necessary.
4 Oct 2012
This guide shows how to extend a standard TextBox to have an "empty value" template
28 Jan 2013
Bruno Tabbia
Encrypt your C# classes and compile them during run-time (hiding their code in the exe file).
24 Mar 2009
Its the software who can make the Ceasares Code
23 May 2019
Saira Fazal Qader
Conversion of image to byte and Encryption using 128 bit key than Decryption using the same key and re-conversion from byte to image
15 Dec 2015
A sample infrastructure project such as erp, mrp, crm, admin panel.
22 Mar 2008
Derek Bartram
A quick start guide to custom event generating and handling
16 Sep 2015
Framework for NET based Shell Context Menus using VB, C#
9 Jan 2014
Jim Parsells
A Class Library for building Forms with a folder navigation TreeView and form specific ListViews that can be tailored for your application and behave like Windows Explorer. Full documentation.
16 Jun 2015
Customize OpenFileDialog and SaveFileDialog using a WPF Window
25 Jan 2020
Thilo Bauer
Autohides Taskbar and Startmenu when there are no mouse moves over them for a defined time
3 Oct 2013
Antonio Petricca
.NET ServiceController class extension
1 Feb 2011
Artour Bakiev
A short overview of the Extensible Storage Engine technology.
22 May 2013
Dejan Mauer
Free and easy way to access a web camera by using the Aforge library.
10 Sep 2009
High performance and good quality of image blurring
28 Sep 2006
Guide to writing a very fast interprocess communication class. This article describes a method of IPC that requires no locking or thread sync.
17 Aug 2016
Edgar Maass
Open and display point clouds using a simple user control. Technology used: C# and the OpenGL library via the OpenTK port to .NET.
3 Jan 2018
Michael Chourdakis
Private fingerprint databases using a simple library, along with system database support.
28 Feb 2018
Omar Saad (IREQ), Eric Ouellet
Ouellet Convex Hull is currently the only ‘Online’ Convex Hull in O(log h) per point, where 'Online' stands for dynamically add one point at a time. Based on our own test against many other algorithm implementations, including Chan and Voronoi/Delaunay, it appears to be the fastest one.
7 Sep 2009
Mike Hankey
Turn an old computer layng around into a NAS or Ubuntu Server
3 Jul 2013
Johnny J.
How to interact with Facebook using Facebook SDK for .NET version 6.x
6 Mar 2010
Cédric Menzi
How to parse well-formed binary data into your data structures
17 Jun 2012
Md. Marufuzzaman
Generic Architecture For Rapid Software Development Project Cycle
8 Sep 2009
No more unboxing/casting! Use generic type parameters with this background worker. Source code for C# and VB.NET.
31 Aug 2009
tomer bracksmayer
Generic Singleton Design Pattern C#
17 Feb 2009
David Thielen
How to return all types that a COM object implements.
31 Aug 2009
Baiyan Huang
Provides a utility class to return the call stack when an exception is being caught, using Windows SEH.
20 Nov 2012
Johnny J., Brisingr Aerowing
Get the operating system version and edition, updated with Windows 10
7 Aug 2014
D. Infuehr
An introduction on how to implement global interceptable hooks in .Net
18 Mar 2009
This article is about writing GUI applications in VBScript and JScript using Windows common controls
11 May 2010
Gurux Ltd
Retrieve data from a physical device, process it, and visualize the results
11 Feb 2019
Sarthak S
Assembly inspection and hacking with windbg
23 Oct 2015
Michael Chourdakis
A simple template for manipulating the registry
4 Jul 2011
How fast is C++ compared to C#? Let's compare code ported directly between the two languages.
1 Aug 2008
Paul Sanders (the other one)
Surprisingly, neither the C++ runtime library nor the Win32 Platform SDK provides any routines to read and write Unicode text files. This article provides high performance routines to read all types of Unicode files (both UTF-16 and UTF-8) as well as ANSI files.
4 Nov 2018
Michael Chourdakis
A ready to be used hotpatching library with five methods!
26 Sep 2017
Nicolas Kogler
This article will take a look at the benefits of code generators, the .NET reflection and external files to reduce code maintenance in industries with a lot of data.
24 Nov 2010
How to check whether .NET is installed in PC Visual Basic 6 code
18 Dec 2008
Andrey Sergienko
How to configure Visual Studio 2008 for compiling drivers without using DDK's console tools.
5 May 2008
Vishal Ganeriwala
How to get the Client IP address or hostname of a Citrix session or Terminal Services Session?
8 Dec 2009
Syed Adnan Ahmed
How to Install and Configure MS Exchange Server 2007 on MS Windows Server 2008
2 Dec 2011
Jim Charles
Install driver dynamically or install driver as a service for Windows.
2 Dec 2008
A simple two line technique that can be used in just about any application
7 May 2020
Arthur V. Ratz
In this article I will thoroughly discuss about the several aspects of using the revolutionary new Intel® oneAPI HPC Toolkit to deliver a modern code that implements a parallel “stable” sort
12 Dec 2008
Daniele Fontani
How to perform a database-independent databind with UDLA (Universal Database Layer Access)
21 Jan 2013
Kerem Guemruekcue
This short article shows how to use an undocumented internal class method from the System.Deployment.Application.Win32InterOp namespace to get a PE images manifest resource.
14 Aug 2011
Pawel idzikowski
Is it better to serialize types without default constructor with Custom Serializer or a Substitute Pattern? Example of serialization of FontFamily into isolated storage in WP7.
14 Apr 2016
Eyal Rosner
Easily setting debugger to attach a process on start
29 Nov 2009
Syed Adnan Ahmed
The way we use to Sysprep windows machine are changed in Windows Server 2008. I should admit that it's lot simpler and less painful to Sysprep Windows Server 2008 than any of the previous versions of Windows.
11 Sep 2013
Create a "C" project in VS2012, then add Flex lexing and Bison parsing capability.
12 Jun 2011
Wanderley Caloni
Exception based error check that automates the FAILED() comparison.
4 Oct 2017
Ditching the slowdowns and applying a little elbow grease can create dramatic speed improvements in GDI image blending.
9 Dec 2016
Arthur V. Ratz
In this article, we'll demonstrate an approach the allows to increase the performance (up to 600%) of the code that implements the conventional distribution counting algorithm (DCA) using NVIDIA CUDA 8.0 Runtime API
6 Feb 2009
Javier Ibarra
This article is about how to get or set values of an InfoPath form.
15 Nov 2010
Ludvik Jerabek
Read and write to INI files in VB.NET and VBScript