Solved

What control shows file icons

Posted on 2008-09-29
4
149 Views
Last Modified: 2010-05-03
Which vb control shows the file icons in a listbox?
0
Comment
Question by:isnoend2001
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
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…
Suggested Courses
Course of the Month5 days, 1 hour left to enroll

635 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