Credit Card Validation Routine

Category:
Miscellaneous
Type:
Snippets
Difficulty:
Intermediate
Author:
Anonymous

Version Compatibility:

More information:
This is one of two credit card validation routines on the site; the other is at http://www.freevbcode.com/ShowCode.Asp?ID=352. Both require you to pass the credit card with only numeric characters (i.e., with spaces, dashes, or other separators stripped.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: