VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Automatic Credit Card Validator

Brian Reeves  (1 Submission)   Custom Controls/Forms/Menus   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

This is a more complete version of the code I uploaded a couple days ago... Has two forms.. Graphical and Non Graphical Both work together so if you start typing something in then switch modes it will copy the information over.
I implemented this as a payment popup (this is just the credit card fields) I am not finished with the whole thing yet.
The Mod10 is a lot smaller than any I have looked as of yet. It changes colors of the textboxes when invalid. Restricts input to digits only in the graphical version... non-graphical you could get some stuff through but the code was getting fat trying to stop all the errors. It also plays around with pictures, frames, extensively with textboxes.
Also see "another money text field" I uploaded
earlier today in which I still have to implement in this project.
BTW Please vote or leave a comment (critisism(sp?) welcome)

Inputs
Just type in the credit card number, expiration date will validate as you go

Assumes
See comments

Returns
Makes TextBox Red If card is invalid.. Grabs Card Type on the keypress of the 4th digit.

Rate Automatic Credit Card Validator (5(5 Vote))
Automatic Credit Card Validator.bas

Automatic Credit Card Validator Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters