Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 2 of 2

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 Desktop 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? ...

  1. #1
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    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

  2. #2
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    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>

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


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 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83