Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help Formatting Credit Number in Textbox Control
#6
Well, automatically detecting the card type based on the numbers that are typed in is going to be difficult seeing that multiple card types have the same number scheme (i.e: Visa and Mastercard)

Anyway, in order to correctly format the textbox, you're going to use the code:
[code2=vbnet]TextBoxCard.Text = CF.GetFormattedString(ComboBoxCardType.Text, TextBoxCard.Text)[/code2]

Instead of:
[code2=vbnet]CF.GetFormattedString(ComboBoxCardType.Text, TextBoxCard.Text)[/code2]
My Blog | My Setup | My Videos | Have a wonderful day.


Messages In This Thread
Re: Help Formatting Credit Number in Textbox Control - by brandonio21_phpbb3_import2 - 08-26-2012, 04:53 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Custom tab control help and making controls Derek275 4 21,172 11-16-2012, 09:51 AM
Last Post: Snake_eyes
  Winsock Control Covert2String 7 25,266 11-27-2011, 08:57 PM
Last Post: brandonio21
  Custom Tab Control xolara 5 20,382 04-24-2011, 07:12 PM
Last Post: xolara

Forum Jump:


Users browsing this thread: 1 Guest(s)