Variant array to byte array

Hi there!

I wish to seek some help here!
I have a vb script variable of type 'array of variants'. When I check
the type of individual components of the array, it shows that they are
bytes. I want to pass this 'array of variants' to an OCX (written in VB)
variable (of the type 'array of bytes') which accepts only variants.
Right now this assignment is giving me a type mismatch as I passing an
array of variants to it.

Could ya let me know how to convert the array of variants to an array
of bytes and then store it as a variant (which can then be passed to
the OCX variable)?

Thanks and regards,
Mayank

Sent via Deja.com http://www.deja.com/
Before you buy.