Access VBA equivalent to a C# List

后端 未结 2 1107
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-16 07:36

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 no

2条回答
  •  独厮守ぢ
    2020-12-16 07:54

    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

提交回复
热议问题