✔ 最佳答案
Credit card numbers are not random numbers. Every credit card number includes a check digit in its number so that the number can be verified with a formula known as Luhn formula.
These sites may help you. The programs are written in C but you can easily translate them to VB.
http://www.codeguru.com/csharp/.net/net_security/authentication/article.php/c12283
http://en.wikipedia.org/wiki/Luhn_formula
The validation formula can only verify if the credit card number conforms to the formula but it cannot tell if the credit card number is valid. But it is a good thing to do before submitting the transaction to the credit card company.