
Variant to Byte Array, and back
Hi..
I need to convert a variant to a byte array....
In the Variant is an array... I need to convert the variant to a Byte Array,
send it to another program and then reconstruct the variant as it existed
previously.
So if this was possible in VB... Life would be good... (unfortunately Life
is NOT good)
Dim v as variant
Dim b() as Byte
Dim vNew as variant
v = Array("abc", "def", "geh")
b = v
..
..
vNew = b
..
vNew should have the same poperties as the original "v" variant variable...
(ie. embbeded array)
Any help appreciated...
Cheers