Load dynamical Icons into an Imagelist and get the Index of an Icon.

xray

New member
Joined
Feb 24, 2004
Messages
1
Location
Germany
Hi Folks
i have the following Problem
1.) a Folder with Icons
2.) an Imagelist
3.) a Treeview

In the Folder are less or more Icons. When the Programm starts
all Icons should be dynamically loaded into an Imagelist.

To push dynamicaly an Icon into a Treenode (on click of a treenode) i have to prove if the icon exists in the imagelist.

At this Moment i have only the Name of the icon (for ex world.ico)

No Prop under vb6 but under vb.net i stuck

The methods contains and indexof of the imagelist are not supported. :-((
Call me stupid but I have no idea how to use system.collections.ilist.indexof to get the index of an item out of the imagelist and to prove is it in

Is there anybody out there who could help

Sorry for my bad English.
yours
Klaus Raykowski:confused:
 
Back
Top