No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
[CODE]If strCardNum.Length <> 5 Then MessageBox.Show("Please enter a 5 numbers.", _ "Georgetown Credit", _ MessageBoxButtons.OK, MessageBoxIcon.Information) ElseIf Not (Integer.TryParse(strCardNum.Substring(0, 1), intNum1) _ OrElse Integer.TryParse(strCardNum.Substring(1, 1), intNum2) _ OrElse Integer.TryParse(strCardNum.Substring(2, 1), intNum3) _ OrElse Integer.TryParse(strCardNum.Substring(3, 1), intNum4) _ OrElse Integer.TryParse(strCardNum.Substring(4, 1), intNum5)) Then MessageBox.Show("The card number entered is not number") Else … | |
Hello, I am new on this website. I don't know rather I am in the right place or not. I am currently in college and study to be web developer. I am doing good so far! I really need help on this small part. We are working on Mulipulating Strings. … |