Calculate Distance Between 2 Points Given Longitude/Latitude (ASP)

Category:
ASP, HTML and XML
Type:
Snippets
Difficulty:
Intermediate

Author: Anonymous

Version Compatibility: ASP

More information:
This routine calculates the distance between two points (given the latitude/longitude of those points). It is being used to calculate the distance between two ZIP Codes or Postal Codes.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: