Validate City State and Zip Code

This project was awarded to TSPSInc for $400 USD.

Get free quotes for a project like this
Project Budget
$250 - $750 USD
Total Bids
Project Description

I need a module built that I can Call that will return if the City State and Zip are Valid. My thought is that I can reference the ActiveX dll or OCX in my project. The driver would then make the necessary web service calls and return a True or False as to the validity of the City/State/Zip combination.

I would like to utilize the USPS as the service to look up by

[url removed, login to view]

My code in my project might be something like the following. The Driver / Module that you are writing would return a True (if Valid) or False (if not valid) for the basic "City State, Zip" given. The validation will occur for the zip given or the zip plus 4 if given. For example if I send Coronado CA 92118 I would be Valid or if I send Coronado CA 92118-3201 that woudl be valid but if I send Coronado CA 92106 it would be invalid or if I send Coronado CA 92118-9999 it would be invalid

I would like an added True (if Valid) or False (if not valid) for the Address in total. I believe that if the Address in total is not valid the USPS will return up to 10 Choices for valid addresses. and the up to 10 address corrections would be returned


Private Addr_Validate As MMS_Address_Validate.Address_Validate

Dim sAddress as string

Dim sCity as string

Dim sState as string

Dim sZip as string

dim sAlternate_Address(10) as string

Dim bValid_City_State_Zip as boolean

Dim bValid_Address as boolean

Set Addr_Validate = New MMS_Address_Validate.Address_Validate

Call Addr_Validate(sAddress, sCity, sState, sZip, bValid_City_State_Zip, bValid_Address, sAlternate_Address)

Awarded to:

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online