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
5465 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#
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
(118)
Updated 10/24/2016
Released 3/29/2013
234,438 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
4 Star
(63)
Updated 8/15/2012
Released 8/14/2012
272,520 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#
4.9 Star
(8)
Updated 2/8/2015
Released 4/22/2013
112,160 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
84,501 Downloads
Pete Laker
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!
4.6 Star
(79)
Updated 9/19/2012
Released 9/13/2012
56,820 Downloads
C#, XAML
OneCode Team
How to Export DataGridView Data to Excel by using Excel Object
3.4 Star
(7)
Updated 8/17/2016
Released 5/20/2015
17,456 Downloads
Gordan Djuric
Hi,I am Gordan and this is my calculator.
C++
3.5 Star
(6)
Updated 8/23/2015
Released 8/1/2015
22,981 Downloads
C++
Parallel Computing Platform - Microsoft
This project provides samples and extensions for the parallel programming support in the .NET Framework.
4.7 Star
(80)
Updated 9/28/2011
Released 7/23/2011
120,599 Downloads
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.3 Star
(22)
Updated 7/2/2012
Released 7/2/2012
33,124 Downloads
OneCode Team - Microsoft
This code sample demonstrates creating a basic Windows Service application in VC++
4.3 Star
(18)
Updated 3/2/2012
Released 1/21/2011
54,902 Downloads
C++

Couldn't find the sample you were looking for?

1 - 10 of 5465 Items