>Great! It works!
>
>But how the solution application is working where this code is missing?
>Very strange.
>
>Thomas
>
>>
>>Thomas, try this in your TreeView Init method:
>>this.Object.ImageList = this.parent.oleImageList.Object
>>(supposing your ImageList control has name "oleImageList") And ImageList should be placed on the form before the TreeView.
>>
Check the ImageList version - it's either both TreeView and ImageList 6.0 or both 5.0 or you have to add some hand coding.