Search Tools Links Login

PostalAddress Control

Data entry control for U.S. postal addresses in a single text box with automatic parsing and assembly.

If your application has to allow users to enter and view snail-mail U.S. postal addresses, your usual choices are separate text boxes for the parts of the address or one big text box for the whole thing. Usually, which it is depends on how you store it. This control gives your users the ease of having a single text box and your program the power to pick out the two street address lines, city, state, zip code, and 4-digit zip code extension as separate parts.

Does format validation, state abbreviation validation, state name conversion to abbreviations, data parsing and assembly to and from the same plain-text representation seen by users. Provides simple explanations for why a given address is invalid, if so. Also provides many of the most commonly-used properties and events of a typical text box.

As easy to use in your project as an ordinary text box. Extensive documentation provided in the code. Also includes an extensive HTML help file and demo project.

Recent Updates:

5/18/2000: Added .Populate() method

5/22/2000: Vastly improved parser to accommodate odd an incomplete addresses and added public array of error codes / messages.

Please vote for this code if you like it.

Original Author: James Vincent Carnicelli

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 106 times


Visual Basic 6

Posted: 9/3/2020 3:45:00 PM
Size: 21,180 bytes

Loading Comments ...


No comments have been added for this post.

You must be logged in to make a comment.