Solved

What control shows file icons

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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

762 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now