Credit Card Validation Module

Category:
String Manipulation
Type:
Modules
Difficulty:
Intermediate
Author:
Sualeh Fatehi

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
A module for validating credit cards. The string may have spaces or dashes. Also includes a function for determining the credit card type (Visa, MasterCard, Discover, American Express).

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download modluhn.zip