In Progress

Validate City State and Zip Code

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)

Skills: PHP, Software Architecture, Visual Basic

See more: validate city state zip, zip code, www usps com, usps .com, usps com, string c plus plus, my code, c plus plus string, c# call web service https, state, city state, city guide, zip city state, state code, activex development, city guide project php, city zip, city state zip code, invalid addresses, service call module, writing city, web service code example example, need zip code, writing false, call dll php

About the Employer:
( 6 reviews ) Coronado, United States

Project ID: #4171351