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
5614 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#
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
No Star
(0)
Updated 1/30/2017
Released 10/4/2014
54,130 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.
4.7 Star
(122)
Updated 10/24/2016
Released 3/29/2013
260,379 Downloads
Ricky_Brundritt
This code sample shows how to load the Bing Maps V8 Web control inside of a WinForm application using a WebBrowser control.
5 Star
(1)
Updated 12/14/2016
Released 12/14/2016
7,351 Downloads
C#
Ricky_Brundritt - Microsoft
This code sample shows how to create draggable routes in the Bing Maps Bing Maps WPF control.
5 Star
(1)
Updated 1/27/2017
Released 1/27/2017
6,481 Downloads
C#
Ricky_Brundritt
This code sample shows how to take simple zip code information, retrieve their boundaries from the Bing Maps GeoData API, combine them together to form a single shape and then generate a Well Known Text format of the shape which can easily be used in Bing Maps and other spatial t
5 Star
(3)
Updated 10/8/2015
Released 10/1/2015
6,218 Downloads
C#
Ricky_Brundritt - Microsoft
In this code sample we create a custom tile source that loads tiles from a local folder and overlay it on top of the Bing Maps WPF control.
5 Star
(1)
Updated 8/24/2015
Released 6/16/2015
6,393 Downloads
C#
Ricky_Brundritt
This code sample shows how to retrieve a map image from Bing Maps that tightly fits to a specified bounding box.
5 Star
(1)
Updated 12/16/2015
Released 12/16/2015
5,818 Downloads
C#
Ricky_Brundritt
From time to time I have had some questions around how to calculate the distance traveled along a route inside of different countries. The basic idea being that someone has a route that crosses multiple countries and they want to know how far they drive in each country.
5 Star
(3)
Updated 12/14/2015
Released 12/14/2015
5,969 Downloads
C#
Ricky_Brundritt - Microsoft
This code sample shows how to draw rectangles on the Bing Maps WPF control using the mouse or touch.
5 Star
(2)
Updated 2/3/2016
Released 2/3/2016
6,043 Downloads
C#
Ricky_Brundritt - Microsoft
This code sample shows how to create a custom rendering layer in the Bing Maps WPF control which can support tens of thousands of pushpins.
5 Star
(1)
Updated 10/4/2016
Released 10/4/2016
5,515 Downloads
C#

Couldn't find the sample you were looking for?

1 - 10 of 5614 Items