Michel,
You could use an ArrayList instead. I typically use ArrayLists over Arrays or the new generic List in 2005. I believe the ArrayList has a Clear method also (in response to your other post).
HTH,
Chad
>I have an object which is initialized like this:
>
>
> Private oParameters(25, 2) As Object
>
>
>I put 25 for now to be sure to have enough. But, is there a way to initialize that to its minimum and redefine this object for the desired length when I will need it? So, for exemple, if I have 13 parameters, I will only define it for 13 rows. This gathers data adapter parameters, so it is not known how many it would be. At run time, after a process, I can clear all that and restart over with another length.
_________________________________
There are 2 types of people in the world: