View Single Post

  #2 (permalink)  
Old 12-13-2006
davidb davidb is online now
Senior Member
Green Belt
 
Join Date: Oct 2003
Location: London
Posts: 113
Re: calculate straight line distance

Think this works in VB6 when you haven't calculated a route

oMap.Shapes.AddLine location1, location2
Distance# = oMap.Distance(location1, location2)

There's a good example on MapPoint help under 'Distance Method' using both VB6 and C#

Rgds, David
Reply With Quote