10-21-2013, 09:50 AM
It gives me an error: ArgumentOutOfRangeException
description: Index and length must refer to a location within the string.
Parameter name: length
This error occurrs on the line
[code2=vbnet]listParts.Add(inputKey.Substring(i, 4))[/code2]
Could it be that the problem is the length of the key? It is like 115 characters long (don't know the exact length but what I do know is that the length is not a round number), so you can't divide it by 4.
description: Index and length must refer to a location within the string.
Parameter name: length
This error occurrs on the line
[code2=vbnet]listParts.Add(inputKey.Substring(i, 4))[/code2]
Could it be that the problem is the length of the key? It is like 115 characters long (don't know the exact length but what I do know is that the length is not a round number), so you can't divide it by 4.