Windows desktop code samples

Download Windows desktop code samples and applications. New samples are added frequently in JavaScript, C++, C#, and VB.NET so check back often.You can also download code samples for other products like Windows Azure, Windows Phone, Office, SharePoint, Silverlight, or explore the Official Visual Studio 2010 C#, VB.NET, and 101 LINQ samples.

Each sample is licensed to you by the party distributing it. Microsoft does not guarantee the samples or grant rights for any sample distributed by a party other than Microsoft. Use of this site is subject to the Terms of Use.
Sort By: rss
3375 results
Ron Jacobs - Microsoft
Demonstrates how to build a WPF application that invokes a Workflow and updates a progress bar with data from the workflow. Uses the MVVM pattern and includes unit tests.
Featured
C#, XAML
John Howard -MSFT
HVRemote reduces the manual configuration steps needed for Hyper-V Remote Management down to a few simple commands, and can diagnose common configuration errors.
(9)
3/29/2013
11,740 Downloads
Houssem Dellai
What I build is just a simple calculator that will show beginners how much easy it is to develop applications using the .NET Framework. Through this sample, they will see some most useful algorithmic operations.
C#, WPF, XAML
(8)
8/14/2012
25,377 Downloads
C#
windowsclient.net - Microsoft
This sample creates a product listing application that allows users to enter items for sale.This sample demonstrates various data binding concepts.
(13)
1/31/2011
32,347 Downloads
Parallel Computing Platform - Microsoft
This project provides samples and extensions for the parallel programming support in the .NET Framework.
(56)
7/23/2011
58,503 Downloads
Official Windows Driver Kit Sample

Official Windows Driver Kit Sample MSFT

Windows Driver Kit Team samples are developed and tested by the Windows Driver Kit Team to ensure that you have a great experience.

View Samples
- Microsoft
Usbview.exe is a Windows GUI application that allows you to browse all USB controllers and connected USB devices on your system. The left pane in the main application window displays a connection-oriented tree view, and the right pane displays the US...
(4)
2/29/2012
23,108 Downloads
C++
All-In-One Code Framework - Microsoft
How to create DataTable manually with specific schema definitions
(0)
4/22/2013
1,511 Downloads
Migrated Galleries Content - Microsoft
This sample provides an introduction to the development of a simple WPF application, and demonstrates controls, images, layout, and data binding.
WPF
(3)
3/12/2011
32,072 Downloads
All-In-One Code Framework - Microsoft
The code sample demonstrates how to create a splash screen in Windows Forms applications
(9)
3/5/2012
28,926 Downloads
C#
projecthilo - Microsoft
“Hilo” is a series of articles and sample applications that demonstrate how you can leverage the power of Windows 7, Visual Studio 2010 and Visual C++ to build high performance, rich responsive client applications.
(20)
4/18/2011
34,908 Downloads
C++
Migrated Galleries Content - Microsoft
This sample demonstrates how to create a WPF Forms solution that checks user input with validation code, demonstrates common controls such as DataGrid and ComboBox, and shows typical data manipulation including create, read, update, and delete.
(13)
2/17/2011
37,170 Downloads

Couldn't find the sample you were looking for?

1 - 10 of 3375 Items