Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

What control shows file icons

Posted on 2008-09-29
4
Medium Priority
?
152 Views
Last Modified: 2010-05-03
Which vb control shows the file icons in a listbox?
0
Comment
Question by:isnoend2001
  • 2
4 Comments
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 22600049
is it vb6 or vb.net?
0
 

Author Comment

by:isnoend2001
ID: 22600136
vb6
0
 
LVL 86

Accepted Solution

by:
Mike Tomlinson earned 1000 total points
ID: 22600212
If you want graphics in your LISTBOX then you need to ownerdraw it:
http://www.vbaccelerator.com/home/vb/Code/Controls/Combo_and_List_Boxes/Owner_Draw_Combo_and_List_Box/article.asp

If you want to use the default controls then use either the ListView or the TreeView:
ListView: http://msdn.microsoft.com/en-us/library/aa733652(VS.60).aspx
TreeView: http://msdn.microsoft.com/en-us/library/aa733652(VS.60).aspx

0
 

Author Closing Comment

by:isnoend2001
ID: 31501331
Thank you
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question