Alan,
you are perfectly right. I saw programmers trying to declare
static arrays of galaxy size and then complaining that their
application did not run.
We cannot allocate more memory than the one allowed by the
physical memory space, we know that. So what about collections
or arrays? Well, it is the developer responsibility to be sure
not to overflow the memory. Same as for a grid, you cannot
insert more rows than the maximum allowed. If you have to do that
(like I do) you must display only the rows that are visible,
and refresh the grid in the scrollbar event. In other words,
we cannot add all the US residents into a VB collection.
But all of this is taught in CS001, it is not Microsoft
responsibility to tell you. What they do, is just explaining
how to use collections to store data.
m.