When an image list is referenced by another object such as a toolbar, you can only add images to the imagelist. VB doesn’t allow deletes or changes to the size of the images in the image list while the reference exists.Typically, the solution is to remove the references, edit the image list, and then reset the references again.However, this can become cumbersome when you might have 10 to 15 toolbar buttons referencing theimage list. To avoid the reference problem, simply select the object referencing the image list and “cut” itfrom your form. Then you can freely edit the image list because VB doesn’t think it’s referenced by anycontrol. Once you finish editing the image list, simply “paste” the other control back on your form. Allreferences will be restored, including the reference to the changed image list.
Charlie has over a decade of experience in website administration and technology management. As the site admin, he oversees all technical aspects of running a high-traffic online platform, ensuring optimal performance, security, and user experience.























