Wrox Programmer Forums
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old June 3rd, 2008, 08:11 PM
Wrox Author
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons

Quite right, Haversine it is. When I wrote this though accuracy is what I had in mind because of the type of application it was powering and the data we were getting was extremely accurate, or so the client claimed (without a GPS who am I to say it was not accurate!) since they were paying an astronomical amount of money for this and other GeoSpatial data.

I agree that the Pythagorean theroem is the way to go if accuracy is not of the utmost importance and, as you said, it is less resource intenstive.

As with anything in programming there is more then one way to solve a problem and I think that both solutions presented here achieve that with varying pros and cons.


================================================== =========
Read this if you want to know how to get a correct reply for your question:
================================================== =========
.: Wrox Technical Editor / Author :.
Wrox Books 24 x 7
================================================== =========
Old June 5th, 2008, 01:21 AM
Friend of Wrox
Join Date: Jun 2008
Posts: 1,649
Thanks: 3
Thanked 141 Times in 140 Posts


The full demo of my zip code locator that also maps found zip codes on a Google Map is now available.

Just go to the URL
and then click on "demos".

You'll see this demo listed as the first and newest one on that page.

You can click on the link to try the demo or you can download a ".zip" file with all the needed content, including a SAMPLE database.

There is a "README.txt" file in the zipped directory that tells you how to obtain a fully functional database and how to modify it to make queries via the web page faster.

I'm not claiming this is commercial quality software. It is *MEANT* as a demo, and that's all it is. A better database and better human interface are left as an exercise to the reader.

Bill Wilkinson
The Old Pedant
Old January 19th, 2012, 08:45 AM
Registered User
Join Date: Jan 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Zip Code Finder I could implement with InfoPath

I liked Old Pendant's solution and will try and modify that for my Infopath forms but if anyone has already created a solution in VB that works with a button control

I realize this is a rather dry vine but if there is anyone out there that could help it would make the world a better place.

Appreciate it,

Similar Threads
Thread Thread Starter Forum Replies Last Post
calculator mojtaba rashidi Visual Studio 2005 0 March 17th, 2008 07:29 AM
Need a zip code radius finder and calculator. baburman ASP.NET 2.0 Professional 4 December 10th, 2007 10:14 AM
Calculator DweeLer Other Programming Languages 1 November 18th, 2005 08:13 AM
calculator kale_tushar C++ Programming 1 January 28th, 2004 01:09 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.