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
4945 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#
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
(53)
Updated 8/15/2012
Released 8/14/2012
193,095 Downloads
C#
Jakeinc
Have you just installed Visual Studio and are ready to begin your first code? Then this sample is for you. This sample explains string variables and integer variables, if else statements, and mathematical expressions. These basic skills are necessary in C/F#/C++/VB programming.
C#, C++, F#
(5)
Updated 2/8/2015
Released 4/22/2013
40,167 Downloads
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.
(103)
Updated 8/18/2015
Released 3/29/2013
177,822 Downloads
Dave A Gordon

1      Introduction
There are literally hundreds of Web Browsers available, so how come, there does not seem to be one single browser that meets all our needs? Well, I know that is true for me at least. This series of articles will show you how you can have the perfect web
b
COM, C#, AJAX
(15)
Updated 12/17/2013
Released 11/16/2013
89,788 Downloads
Yegor B. Isakov
This is a simple game to demonstrate animation capabilities of Visual Studio 2010 Express.
Visual Studio 2010 Express. DescriptionHow does this sample solve the problem? It solves the problem perfect way....."Animation is the process of creating
motion and shape change[Note 1
(0)
Updated 10/22/2014
Released 10/8/2014
7,238 Downloads
C#, C++
Dave A Gordon
In this series we are going to be looking at TCP IP, Client / Servers and what a massive world of opportunities this knowledge opens up to us, from Chat and Video Conferencing, to Invisible process communication, and even Service Management. But today let’s get the framework done
C#, vb, Win32
(16)
Updated 12/17/2013
Released 12/3/2013
63,950 Downloads
Chuck Walbourn - MSFT
The D3D11InstallHelper sample is designed to simplify detection of the Direct3D 11 API, automatically install the system update if applicable to an end-user's computer, and to provide appropriate messages to the end-user on manual procedure if a newer Service Pack is required.
(2)
Updated 10/12/2015
Released 5/22/2012
58,260 Downloads
C++
Microsoft Office Developer Documentation Team

Microsoft Office Developer Documentation Team MSFT

Microsoft Office Developer Documentation Team samples are developed and tested by the Office Developer Documentation Team to ensure that you have a great experience.

View samples
- Microsoft
This sample pack includes all of the code samples developed for apps for Office. The sample pack provides a convenient way to download all of the samples at once.
(10)
Updated 10/20/2015
Released 3/20/2013
38,092 Downloads
XAML guy
This project will give you crash course on WPF MVVM that you can do in your lunch break! Everything you need to know about binding, INotifyPropertyChanged, Dependency Objects & Properites, POCO objects, Business Objects, Attached Properties and much more!
(71)
Updated 9/20/2012
Released 9/14/2012
37,488 Downloads
C#, XAML
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.
(69)
Updated 10/8/2015
Released 10/27/2011
54,467 Downloads

Couldn't find the sample you were looking for?

1 - 10 of 4945 Items