Click to See Complete Forum and Search --> : Collections and String Arrays


kwalker
September 14th, 2001, 10:36 AM
I am calling a java bean method from VB that returns a Collection of String Arrays and I am wondering if there is a way in VB to reference each string array's elements. I'm using a For Each statement to iterate through the Collection but it requires either an Object or Variant to store each item into. If I use a Variant variable, referencing it only references the string stored in the first index of each string array but I want to be able to reference all of the elements in the arrays.