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
5161 results
Matthew Manela
This lexer allows you to define your regular expression based rules in a very declarative way using F# computation expressions.With those defined you can execute the lexer with:Which will result in:The lexer’s code is structured in three parts.  The first part is a state monad us
Featured
F#
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
(58)
Updated 8/15/2012
Released 8/14/2012
225,653 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#
(6)
Updated 2/8/2015
Released 4/22/2013
67,549 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.
(105)
Updated 8/18/2015
Released 3/29/2013
199,255 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
(16)
Updated 12/17/2013
Released 11/16/2013
103,401 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.
(71)
Updated 10/8/2015
Released 10/27/2011
64,937 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
(3)
Updated 10/21/2014
Released 10/8/2014
21,309 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
(17)
Updated 12/17/2013
Released 12/3/2013
74,713 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!
(76)
Updated 9/19/2012
Released 9/13/2012
44,366 Downloads
C#, XAML
Douglas Erickson [MSFT]
This sample demonstrates an end-to-end Java Native Interface Android OpenGL ES 3.0 application. The sample contains both Java and C/C++ code.
(6)
Updated 4/6/2015
Released 4/6/2015
6,519 Downloads
C++
Kemp Brown - Microsoft
Visual Studio Matching Game Tutorial - In this tutorial, you build a matching game, where the player matches pairs of hidden icons. You learn how to use a List object, a foreach / For Each loop, a timer control, variables to track form state, and more.
(5)
Updated 1/22/2014
Released 1/22/2014
29,728 Downloads

Couldn't find the sample you were looking for?

1 - 10 of 5161 Items