How do you assign pictures to arrays, like array(1) is pic1, array(2), is pic2 and array(3) is pic 3
declare an array of standard pictures, and then use the Set keywaord to assign its elements:
dim array() as StdPicture
set array(0) = pic0
set array(1) = pic1
set array(2) = pic2
PS remember that by default the first index of an array is zero. You can override it for a single array by:
dim array(1 to 3) as StdPicture
or globally using the 'Option Base' statement:
Option Base 1
what does redim do?
and for pic1, pic2 would it be like an imgObject?
I used pic1 and pic2 because they were in your post...
let's back up a little: what do you want to accomplish here? Where are the pictures? Into files? And why do you want to put them in an array?
redim: open IDE, type redim in the immediate window, double click to select it and press F1: that will display its help page.
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center