Solved

How to insert a image into a listbox

Posted on 2008-10-24
2
2,925 Views
Last Modified: 2013-12-17
I am wondering if it is possible to include a image in a listbox, so it shows behind the row of text you add. So the psudo code for what i want be like ListBox1.Items.Add(image + " " + hostName + " is Online");

Is this possible?  
0
Comment
Question by:Figle
2 Comments
 
LVL 12

Accepted Solution

by:
techExtreme earned 500 total points
ID: 22799280
Hello,
Hi, here's a link to get you started, it adds image to listbox.
http://www.codeproject.com/KB/combobox/glistbox.aspx



0
 

Author Comment

by:Figle
ID: 22799629
Thanks for the reply but looking for something a bit more explanatory
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

839 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