CardVal is a DLL that allows developers to easily include credit card validation/identification in their applications.
CardVal is easy to use, requiring only one line of code to validate a credit card.
CardVal also has a low filesize (just 32kb), minimizing the impact upon your software's installation size.
CardVal can validate the following types of credit cards:
- American Express
- Diners Club
- Carte Blanche
CardVal can be used with any programming language that supports COM.
Here is an example piece of Visual Basic code that will do a simple validation check on a VISA card:
Dim CardVal As CardValTrial.Validator
Set CardVal = New CardValTrial.Validator
Result = CardVal.CheckCC("4111-1111-1111-1111", "V")
If Result <> 0 Then MsgBox "Credit Card Not Valid!"
CardVal can also perform much more complex validation, and is capable of returning the following results (including combinations of them):
- Card is Valid
- Card Number Does Not Match Specified Card Type
- Card Number Length is Invalid
- Card Checksum Failed (Main Validation)
- Unknown Card Type
This program is no longer available for download from our website. Please contact the author of CardVal at email@example.com for any additional information.