»
Code

Bing code samples

Download code samples and applications for Windows 8, Windows Phone, Microsoft Azure, Office, SharePoint, Silverlight and other products. You can also explore the Official Visual Studio C#, VB.NET, and 101 LINQ samples.New samples are added frequently in JavaScript, C++, C#, Visual Basic, and F#.
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
138 results
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,557 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,553 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/2/2015
6,267 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/17/2015
6,435 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,848 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
6,031 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,084 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,531 Downloads
C#
Ricky_Brundritt - Microsoft
This sample shows how to use the Bing Spatial Data Services with the Bing Maps WPF control to find all US counties that intersect with a line.
5 Star
(1)
Updated 7/17/2017
Released 7/5/2017
5,556 Downloads
C#
Asprise-OCR-Scan-Scanner-Twain-WIA-Component-API
This code sample shows how to do C# VB.NET OCR and barcode recognition to convert images (in various formats like JPEG, PNG, TIFF, PDF, etc.) into editable document formats (Word, XML, searchable PDF, etc.) and read QR codes and barcodes in formats of EAN-8, EAN-13, UPC-A
C#, WCF, GDI+
4 Star
(5)
Updated 8/23/2016
Released 8/23/2016
4,847 Downloads

Couldn't find the sample you were looking for?

1 - 10 of 138 Items