CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2002
    Location
    Chandigarh,India
    Posts
    11

    Reading multiple values form the listbox

    How to read multiple values form list box control?
    Regards,

    Aman

  2. #2
    Join Date
    Jun 2002
    Location
    Bathurst, NB Canada
    Posts
    21
    Here's some code...


    Code:
    For i = 0 To lstTags.Items.Count - 1
                If lstTags.Items(i).Selected Then
                    tag = lstTags.Items(i).ToString()
                End If
    Next
    Enjoy!
    Stephane Daigle
    Alpha Centauri Inc.

    http://www.drakeville.com

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

Featured