This is rubbish! I use these 2 lines to overcome the bug that makes icons not show in treeviews:
I put the lines just before I show the form - sometimes the icons show - other times not!! Why is it intermittant - why has this bug not been fixed properly by MS! Grrrrr!!!!Code:Application.EnableVisualStyles(); Application.DoEvents();