We're a community of 1.1M IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,080,318 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Insert Image + ListView Subitem

I want to know how to insert image into ListView Subitem.

I know how to insert image into ListView first Subitem means.

To insert an image into first item

dim lvitem as ListViewItem
set lvitem=ListView1.Items.add("Sonia",me.ImageList1.Images.count-1)

Can somebody tell me how to insert an image without text into subitem.

2
Contributors
1
Reply
1 Day
Discussion Span
4 Years Ago
Last Updated
3
Views
sonia sardana
Posting Whiz
329 posts since Mar 2008
Reputation Points: 0
Solved Threads: 8
Skill Endorsements: 0

I did some research and here is my result
#1 subitem image is no longer supported in listview for vb.net
http://social.msdn.microsoft.com/forums/en-US/winforms/thread/355566d9-5b17-4654-ab78-61394713c05c/
#2 you can use the vb6 listview and use the reporticon
http://www.vbforums.com/showthread.php?t=25032
#3 search google for "vb.net OAKListView"
http://www.codeproject.com/KB/list/OAKListView.aspx?display=PrintAll

hth

samir_ibrahim
Junior Poster
155 posts since Sep 2008
Reputation Points: 69
Solved Threads: 19
Skill Endorsements: 1

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page generated in 0.0665 seconds using 2.68MB