Images in listbox

Chris Ara
08-16-2006, 03:39 AM
Is there any way I can have a listbox with items that have an icon next to them. I see no support for imagelist in vb 2005 with the listbox control. What I am trying to do is have a list box that list all the file in a directory and thier icons. I don't want to use a directory browser dialog because I want the file list to be visible on my form at all times. Does anyone know if there is a control that does this I looked but didn't see one.

Thanks for any help
Chris ara

08-16-2006, 04:47 AM
The ListView control allows images, I can't off hand remember if they appear when in List or Detail mode though. If not you can always go for a OwnerDrawn ListBox. I've seen an example of this in either the Tutors Corner or the Code Base thread (if it wasn't on here it would have been on the sister ( site).

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum