Groups | Blog | Home
all groups > vb.net upgrade > march 2007 >

vb.net upgrade : returning array from VB.Net to VB 6.0



O''''neil
3/1/2007 8:00:05 AM
Hi all,

I am trying to return a two dimensional array of strings from a VB.Net 2005
to VB 6.0. How can I do this? Any code examples?

Thanks
--
O''''neil
3/1/2007 10:48:00 AM
Hi all,

I am all set with this question. Here is how I did it.

1) VB.Net function will return an Object
2) VB 6.0 will still use Variant datatype to receive the Object (in this
case an array). VB.net will use BOXING to pass the array from managed
environment to unmanaged environment of VB 6.0.

Thanks

--
O''''Niel


[quoted text, click to view]
AddThis Social Bookmark Button