G
Guest
If GetUpperBound(n) returns a zero based dimension, should this line
ArraySize = MyData.GetUpperBound(0);
within the Button2_Click handler in fact be
ArraySize = 1 + MyData.GetUpperBound(0);
The full article is at http://support.microsoft.com/kb/309158/ and the
particular line of code in under step 7.
Thanks for confirming this or otherwise.
ArraySize = MyData.GetUpperBound(0);
within the Button2_Click handler in fact be
ArraySize = 1 + MyData.GetUpperBound(0);
The full article is at http://support.microsoft.com/kb/309158/ and the
particular line of code in under step 7.
Thanks for confirming this or otherwise.