Loading Images

H

HLong

Can someone explain how could I load images from a folder into the ListImages
collection of an ImageList control. I am working on VBA. On my form I have
a button to lunch the GetOpenFileName dialog to select the image files.
These image files could be in JPG, PNG, TIFF, BMP file formats (preferably),
but I could have them on BNP only if required. Thanks.

I tried loading the image file paths into an array or collection and then,
setting the picture property of the image object. It works on design time
but not at run time.
Please can someone help me. Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top