This project is read-only.
Home Getting Started Features and RoadMap Project Structure Screenshots and Video Application list

Getting Started


To compile and run this project, you need to have the following installed:
For the SurfaceVEMap, you'll need either a Microsoft Surface device or the Microsoft Surface SDK Workstation Edition, including the simulator.

The source code project files are for Visual Studio 2008.


Visit the Releases tab above and download the binaries.

Add References

Create or open your WPF project in Visual Studio and add a reference to InfoStrat.VE.dll for WPF apps:
Add both InfoStrat.VE.dll and InfoStrat.VE.NUI.dll for Surface apps:
For Windows 7 Touch apps, add InfoStrat.VE.dll, Infostrat.VE.Windows7Touch.dll, Wnidows7.Multitouch.dll, and Windows7.Multitouch.WPF.dll.

Add VEMap

Add the namespace reference:


Then add a VEMap (or SurfaceVEMap) control to your XAML. (Alternately instantiate it in code and add it to the UI tree manually.)

<ve:VEMap />


Now you are good to go! Try adding VEPushPin objects as children to the VEMAP and set the Latitude and Longitude properties of VEPushPin.

Last edited Jan 4, 2010 at 4:24 PM by JoshB, version 7


sdharman Mar 15, 2011 at 10:06 AM 
Hi ,
I am in a hoorible situation. I working in surface application.

I have added the namespace given below to my suracewindow1.xaml :
I wrote the tag for creating surface map :
<m:SurfaceVEMap x:Name="map" MapStyle="Hybrid" />

The Problem is:
If i run my surface application in Surface simulator, there is no map control is shown by the surface simulator.

But if i run in wpf application, the map control is runned sucessfully

Please Please,do help me to overcome this problem.

I am using

Bing maps sdk downloaded from :

Surface 1.0 servicepack & Surace 1.0 workstation edition - surface simulator

Operating system : Windows 7

Thanks in Advance,

Siva dharman

subcreation Apr 2, 2010 at 11:54 PM 
THANKS!! Downloading the source and building the dll myself worked!

JoshB Apr 2, 2010 at 9:26 PM 

The source code for the control and the example project is available from the download tab. A more recent source tree is also available from the source code tab. Have you downloaded the source and compiled and run the sample project?

Also for future reference, it is easier to track specific questions if you create a thread on the discussion tab, rather than post a comment here, which I don't see all the time. The discussion threads are very recent and active, and people use InfoStrat.VE all the time. SergeCalderara got his problem working by doing a full recompile.

subcreation Apr 2, 2010 at 8:39 PM 
I get an XamlParseException when I try to implement this (with exactly what SergeCalderara posted above). I have VE3D installed and I was able to run the example EXE.

An example project with source code would be far more useful. I see many of the posts here are months old. Has anyone used this succesfully recently?

SergeCalderara Mar 26, 2010 at 1:35 PM 
I have follows how to integrate and test that control in a WPF application.
I have downloaded the Virtual 3D controls.

Then when runing my sample I get following exception :
Could not load file or assembly 'InfoStrat.VE, Version=, Culture=neutral, PublicKeyToken=a464bcc72081fceb' or one of its dependencies. An attempt was made to load a program with an incorrect format. Error at object 'System.Windows.Controls.Grid' in markup file 'map;component/window1.xaml' Line 7 Position 10.

I simply past it as follwo in my XAML :
<Window x:Class="map.Window1"
Title="Window1" Height="300" Width="300">

Any idea what is mmissing or wrong ?

Thnaks for help

radioman Aug 30, 2009 at 1:14 PM 
thi one works perfect:

JoshB Aug 21, 2009 at 3:50 AM 
Bill, I have answered your question in a discussion thread.

BillElagizi Aug 20, 2009 at 6:55 PM 
Thanks a lot for the control.
I am new to MS Surface. I added the namespace and the Surface Control to the XAML of a scatter view project. I added pictures to the scatetr view and the Surface Control. When I run it I get the images (which I can move around using multitouch) and Virtual Earth in a window. I can not move the map using multitouch though. Comments please. Also VE does not zoom in or out. Thanks a lot.

JoshB Apr 20, 2009 at 2:53 PM 
See this thread: An update will be published soon. I need to get time to finish testing it.

shahbour Apr 20, 2009 at 12:12 PM 
Were any one able to over come this problem , i got both .net3.5 sp1 and virtual Earth 3D Beta, but still it the application crash when i try to run it

drseltsam Apr 16, 2009 at 4:41 PM 
I am facing the same issue as TonyLugg described. The application crashes, when it tries to load elevation-data from the in the VEMap_loaded event. There comes the message: "Object is not ready for use. If starting up, please use Host.RenderEngine.Inintialized. Alternativeliy it may be already torn down or disposed"

DanielKornev Apr 15, 2009 at 4:34 PM 
you need to download and install Virtual Earth 3D control - go to, click on 3D view button and agree on installing "Virtual Earth 3D Beta"

TonyLugg Apr 13, 2009 at 7:10 PM 
I have downloaded both the dll and source. Neither will run. The WPFVEMapSample.exe crashes as soon as I try to run it, no window comes up. The source for VE Map compiles but also crashes when I try to run it. I have VS2008 and .NET 3.5 SP1. I am running on 32bit Vista. Please help as I believe this control will be very useful for us.