Valhalla Legends Forums Archive | .NET Platform | VB.NeT Error

AuthorMessageTime
Zer0
[code]
Dim byKey() As Byte = {}
byKey() = System.Text.Encoding.UTF8.GetBytes(VB.Left(strEncrKey, 8))
[/code]

i am working on a program and the 2nd line of code is giving me the error and here's the error

[code]
Number of indices is less than the number of dimensions of the indexed array.
[/code]
October 27, 2006, 4:39 AM
Myndfyr
Means that the key is less than 8 characters long.
October 27, 2006, 5:17 AM

Search