Results 1 to 21 of 21

Thread: zip code formula/algorithm question [Solved]

Threaded View

  1. #1

    Thread Starter
    Frenzied Member ice_531's Avatar
    Join Date
    Aug 2002
    Location
    Sitting w/ Bob Status: -Next -To- Null- Friend: Philip
    Posts
    1,152

    Resolved zip code formula/algorithm question [Solved]

    Hey all.

    Just curious about this as I've never come across the need.

    Is there any way to calculate distance between different zip codes, mathematically or vb functions?

    Example.

    A listbox containing 6 different zipcodes within a state.

    Is there any decent way to sort the listbox of zip codes based on distance to a zipcode in a textbox the user inputs.

    Nearest zip code at top of listbox and furthest at bottom.

    any code ideas? other than using a 3rd party website functions.
    Last edited by ice_531; Jun 30th, 2011 at 07:08 PM.
    :::`DISCLAIMER`:::
    Do NOT take anything i have posted to be truthful in any way, shape or form.
    Thank You!

    --------------------------------
    "Never heard about "hiking" poles. I usualy just grab a stick from the nature, and use that as a pole." - NoteMe
    "Finaly I can look as gay as I want..." - NoteMe
    Languages: VB6, BASIC, Java, C#. C++

Posting Permissions

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



Click Here to Expand Forum to Full Width