Solved

What control shows file icons

Posted on 2008-09-29
4
147 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 85

Accepted Solution

by:
Mike Tomlinson earned 250 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

828 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