views:

141

answers:

1

I have a COM-visible object written in C# that accepts a list of string arrays. Could I send a Collection of string arrays from Access 2000 to this object and it work? If not, then what is the best way to send multiple string arrays to my C# object from Access 2000?

+3  A: 

You can't marshal generics but using Collection on the VB6 side is a workable solution. Effectively convert your List to a standard collection.

Here's something that elaborates more: http://www.codeproject.com/KB/COM/netclasslistvb6.aspx?display=Print

Nissan Fan
I'm an experienced Access programmer, but I can't see how the cited URL answers the question. Can you draw it out a bit?
David-W-Fenton
The question was phrased incorrectly, referring to VB6 when the asker meant VBA. The asker clarified this by [posting a duplicate question](http://stackoverflow.com/questions/3516325/vba-equivalent-to-listt-in-c). I edit this question accordingly.
Timwi