Re: Returning an array to vb

Tech-Archive recommends: Fix windows errors by optimizing your registry



I found my stupid mistake.

In my vb code, I specified VariantType! Ouch!

I changed it to the following (i tried declaring it to Variant, but
visual studio dynamically changed it to Object instead):
Dim test As Object

and i can now access my array!

e.g. strOut = test(0).Name

Brian, thanks for your reply.

.