VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



PostalAddress Control

by James Vincent Carnicelli (21 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (7 Votes)

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.

Rate PostalAddress Control

Download PostalAddress Control

Download PostalAddress Control (19 KB)

PostalAddress Control Comments

No comments have been posted about PostalAddress Control. Why not be the first to post a comment about PostalAddress Control.

Post your comment

Subject:
Message:
0/1000 characters