State/Province & Country Dropdown Subroutine
Category:ASP, HTML and XML
Version Compatibility: ASP
I usually just make this an .inc file (menus.inc) and use an include to drop it into the page where its needed. Requires text file for state/province and country codes/names...could probably combine into one text file but I wanted to keep this real simple. Zipfile including textfiles, sample page with dropdowns, and the include file available at http://www.attitude.com/users/kathi/asp/samples/state-country_drop.zip if this gets a bit confusing
Instructions: Copy the declarations and code below and paste directly into your VB project.