S
Saurabh Kumar
HELP!
The below code seems simple, but just does not seem to work! I am trying to
pass a byte array through a arraylist, to another byte array...but i keep on
getting unable to convert object type to 1 dimentional byte array....what is
wrong?
Dim a(2) As Byte
Dim b(2) As Byte
Dim arr As New ArrayList
a(0) = 45
a(1) = 34
arr.Add(a)
b = arr.Item(0)
MessageBox.Show(CStr(b(1)))
Thanks.
The below code seems simple, but just does not seem to work! I am trying to
pass a byte array through a arraylist, to another byte array...but i keep on
getting unable to convert object type to 1 dimentional byte array....what is
wrong?
Dim a(2) As Byte
Dim b(2) As Byte
Dim arr As New ArrayList
a(0) = 45
a(1) = 34
arr.Add(a)
b = arr.Item(0)
MessageBox.Show(CStr(b(1)))
Thanks.