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
5661 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.
WPF
Featured
C#
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
(125)
Updated 10/24/2016
Released 3/29/2013
273,646 Downloads
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 .....
5 Star
(3)
Updated 4/4/2019
Released 11/23/2016
12,780 Downloads
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
(2)
Updated 1/30/2017
Released 10/4/2014
88,980 Downloads
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
(4)
Updated 10/17/2013
Released 2/29/2012
46,052 Downloads
C++
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
(88)
Updated 12/12/2013
Released 10/23/2013
36,790 Downloads
ravi ranjan pandey
This Project is a simple Login Form desktop application using Windows Forms and C#.NET.It is a good resource for a beginner in C# to learn the basics of some of the common controls and the code behind the controls and to validate empty or required data types from the user inputs.
3.4 Star
(5)
Updated 2/9/2017
Released 12/28/2016
8,175 Downloads
C#
SautinSoft Team
This C# example shows how to parse DOCX document using a free "DOCX Document .Net" library. Using this library your application can do following: parse, create, edit and save docx documents on fly.
2.4 Star
(5)
Updated 1/25/2016
Released 1/25/2016
2,782 Downloads
C#
OneCode Team - Microsoft
This code sample demonstrates creating a basic Windows Service application in VC++
4.4 Star
(19)
Updated 3/2/2012
Released 1/21/2011
63,450 Downloads
C++
Parallel Computing Platform - Microsoft
This project provides samples and extensions for the parallel programming support in the .NET Framework.
4.7 Star
(81)
Updated 9/28/2011
Released 7/23/2011
130,834 Downloads
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
(75)
Updated 6/21/2017
Released 10/27/2011
103,614 Downloads

Couldn't find the sample you were looking for?

1 - 10 of 5661 Items