I have nor used VB, but with Pascal and/or C, C++, there is a technique to generate somthing similar to dynamic memory or you can use linking list of pointer technique in C/C++ to generate new element in the matrix, this is just another way to manage element in order of the language.
I believe...