SteveMac32
Programmer
Hi all
I need to populate a treeview useing the image list to provide the images for the nodes.
I have about 200 existing icons in a resource file, what I want to do is instead of loading the image file with all the images at design time I want to loop around the resource file at run time when that form is called, loading the image list from the resource file.
As far as I know the resource file can be treated as a collection, but how would I access this and do a ‘For Each’ type loop on it?
Thanks
Steve
I need to populate a treeview useing the image list to provide the images for the nodes.
I have about 200 existing icons in a resource file, what I want to do is instead of loading the image file with all the images at design time I want to loop around the resource file at run time when that form is called, loading the image list from the resource file.
As far as I know the resource file can be treated as a collection, but how would I access this and do a ‘For Each’ type loop on it?
Thanks
Steve