VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Automatic Credit Card Validator

by Brian Reeves (1 Submission)
Category: Custom Controls/Forms/Menus
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (4 Votes)

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
Code Returns
Makes TextBox Red If card is invalid.. Grabs Card Type on the keypress of the 4th digit.

Rate Automatic Credit Card Validator

Upload

Download this snippet    Add to My Saved Code

Automatic Credit Card Validator Comments

No comments have been posted about Automatic Credit Card Validator. Why not be the first to post a comment about Automatic Credit Card Validator.

Post your comment

Subject:
Message:
0/1000 characters