One of the more useful VB language constructs is Select... Case. It's pretty simple, but still quite useful. When applicable, it's much cleaner then a bunch of nested If... Then statements.
Here's a zip file of the code (660 bytes).
Play with the running version.
Back to the "Select Case" sample
Search:
Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia Jupitermedia Corporate Info Copyright 2008 Jupitermedia Corporation All Rights Reserved. Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy. Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers
Jupitermedia Corporate Info Copyright 2008 Jupitermedia Corporation All Rights Reserved. Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy. Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers
Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers