MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




I was wondering if Mappoint 2002 had an API that I....

This is a discussion on I was wondering if Mappoint 2002 had an API that I.... within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I was wondering if Mappoint 2002 had an API that I could use to calculate the distance between 2 zipcodes? ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-22-2002
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
I was wondering if Mappoint 2002 had an API that I could use to calculate the distance between 2 zipcodes? I am trying to do this through Visual Basic and have not been able to find any references to this.

Thanks,
Ross Lotharius
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 05-22-2002
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Gilles posted this simple example to the newsgroup a while back:

<pre>
Private Sub Command1_Click()
Dim loc1 As MapPoint.Location
Dim loc2 As MapPoint.Location

Set loc1 = oMap.FindAddressResults(, , , , "57642", _
geoCountryUnitedStates)(1)
Set loc2 = oMap.FindAddressResults(, , , , "88020", _
geoCountryUnitedStates)(1)
MsgBox loc1.DistanceTo(loc2)
End Sub
</pre>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
api, mappoint 2002, wondering


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
I am wondering if anyone has built a COM add-in ap.... Anonymous MapPoint 2006/2009 Discussion 1 05-13-2002 09:55 AM
I was wondering if there was any direct method to .... Anonymous MapPoint 2006/2009 Discussion 1 09-13-2001 07:29 AM
Does MapPoint 2002 come with or can it come with d.... Anonymous MapPoint 2006/2009 Discussion 1 09-07-2001 12:58 PM
Hello, I'm wondering if there is a way to include.... Anonymous MapPoint 2006/2009 Discussion 1 09-04-2001 12:52 PM
My company was wondering what is the accuracy of y.... Anonymous MapPoint 2006/2009 Discussion 1 05-11-2001 01:30 PM


All times are GMT -5. The time now is 08:38 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54