This looks great but it is definitely way more advanced than we have gotten so far in this class. I am going to get working on this code tonight or tomorrow night and I'll post what I can come up to get you guys' input/advise. I really do appreciate all of you guys' help. I bet I will learn more in this thread than in this class.
Option Strict OnOption Explicit OnOption Infer OnPublic Class Form1 Dim hand(3, 12) As Integer Private Sub btnCard1_Click(sender As Object, e As EventArgs) Handles btnCard1.Click Dim suit As String Dim faceValue As Integer suit = txtCard1Suit.Text.ToUpper faceValue = CInt(mtbCard1.Text) - 1 If (faceValue < 1) Or (faceValue > 13) Then MessageBox.Show("Invalid Denomination for Card 1. Please re-enter the denomination.", "ERROR") End if Select Case suit Case "C" hand(0, faceValue) = 1 Case "D" hand(1, faceValue) = 1 Case "H" hand(2, faceValue) = 1 Case "S" hand(3, faceValue) = 1 Case Else MessageBox.Show("Invalid value for card 1 suit. Please re-enter the suit.", "ERROR") End Select End Sub