Valhalla Legends Archive

Programming => General Programming => .NET Platform => Topic started by: Zer0 on October 26, 2006, 11:39 PM

Title: VB.NeT Error
Post by: Zer0 on October 26, 2006, 11:39 PM

Dim byKey() As Byte = {}
byKey() = System.Text.Encoding.UTF8.GetBytes(VB.Left(strEncrKey, 8))


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


Number of indices is less than the number of dimensions of the indexed array.
Title: Re: VB.NeT Error
Post by: MyndFyre on October 27, 2006, 12:17 AM
Means that the key is less than 8 characters long.