Results 1 to 1 of 1

Thread: List view columns, extracting data - Resolved

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2002
    Posts
    1

    List view columns, extracting data - Resolved

    I have a list view with 4 columns that i'm wanting to use as a selection tool. Is there a way to extract the value stored in one column when an item is selected? That value is needed to get to the next step. if this can be done it will greatly simplify the code. Thanks.


    -----------

    figuered it out

    VB Code:
    1. Dim list As New ListViewItem()
    2.                 For Each list In ListView1.SelectedItems
    3.                     selected = list.SubItems(3).Text
    4.                 Next
    Last edited by cbsmith; Nov 11th, 2002 at 12:12 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width