Windows desktop code 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
5674 results
Matthew Manela
This sample shows how to convert from HTML to RTF and from RTF to HTML. It makes use of the WPF RichTextBox to convert to XAML first and then to RTF or HTML.
Arshad Nadeem

I am a skilful person, working on graph is my favourite from childhood. Yes, i am working in Windows 8.1 today and on graph, but using grid has weekend my eye sight. I am doing so as it is my hobby. I have created lot of designs in past few years, now the idea
to sell th
4.5 Star
Updated 1/30/2017
Released 10/4/2014
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.
4.7 Star
Updated 10/24/2016
Released 3/29/2013
Aryan Mesgari
In this chapter we want to write Scientific Calculator application .
The following steps show how to write a advanced Calculator:
1. First, Click New Project in Start Page Or On File Menu .
2. In New Project Dialog , Click .....
4 Star
Updated 4/4/2019
Released 11/23/2016
John Howard -MSFT
Convert-VMGeneration converts a Hyper-V generation 1 virtual machine running on Windows Server 2012 R2 or Windows 8.1 to generation 2.
4.6 Star
Updated 12/12/2013
Released 10/23/2013
OneCode Team - Microsoft
This code sample demonstrates creating a basic Windows Service application in VC++
4.4 Star
Updated 3/2/2012
Released 1/21/2011
Paolo Salvatori
The Service Bus Explorer is a tool that you can use to manage and test the entities contained in an Azure Service Bus namespace.
4.8 Star
Updated 6/21/2017
Released 10/27/2011
SQL Server Integration Services - Microsoft
This sample serves as an introduction to the SQL Server Integration Services development environment. By following along with the steps in the video you'll create a simple data flow that transfers data from a CSV file into a table in SQL Server.
4.4 Star
Updated 7/2/2012
Released 7/2/2012
Official Windows platform sample

Official Windows platform sample MSFT

Official Windows platform samples are developed and tested by the Windows platform team to ensure that you have a great experience.

View samples
- Microsoft
This sample demonstrates how to use the ODBC APIs to connect to and access a database.
4.3 Star
Updated 10/17/2013
Released 2/29/2012
Parallel Computing Platform - Microsoft
This project provides samples and extensions for the parallel programming support in the .NET Framework.
4.7 Star
Updated 9/28/2011
Released 7/23/2011
131,829 Downloads - Microsoft
This sample creates a product listing application that allows users to enter items for sale.This sample demonstrates various data binding concepts.
4.4 Star
Updated 2/24/2011
Released 1/31/2011

Couldn't find the sample you were looking for?

1 - 10 of 5674 Items