Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21843

[RESOLVED] When an array isn't an array

$
0
0
I have 100 Image controls on my Form named ImgEmot(0) thru ImgEmot(99). Is this not an array?

Now in my code when I use Ubound(ImgEmot) I get a Compile Error: Expected array.

How do I reference the total number of image controls in a For....Next loop without having to use the actual number as a constant value?

Viewing all articles
Browse latest Browse all 21843

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>