'ReDim' cannot change the number of dimensions of an array.
THIS IS MY CODE AND IM HAVING UPDATE VB 6.0 VB .NET
'ReDim' cannot change the number of dimensions of an array.
HELP PLEASE WHAT'S MISSING
THANKS ALL
Private Sub cmdStart_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles cmdStart.Click
Dim aryCount() As Integer
Dim HiCard As Integer
Dim Decks As Integer
Select Case MachineType
Case 12, 15, 17 : HiCard = 6 : Decks = 0 : Devices = 2 : CardLength = 1 'craps
Case Else : Err.Raise(vbObjectError + 1086, , "" & MachineType)
End Select
If Devices = 0 Then
ReDim aryCount(HiCard + 4)
Else
ReDim aryCount(HiCard, Devices) <<<<<<<THIS IS THE ARRAY IM having the problem with>>>>>>>>>>
End If
THIS IS THE ERROR: I GET
'ReDim' cannot change the number of dimensions of an array.