Results 1 to 2 of 2

Thread: i need help in vb6

  1. #1
    New Member Evobroadband's Avatar
    Join Date
    Aug 12
    Posts
    5

    Unhappy i need help in vb6

    Hi all
    how are you all brothers
    i need help in listview cmd
    i wanna load my yahoo bots
    what i use cmd for that i am using visual basic 6
    here is a shot plz check


    Name:  Qj2qe.png
Views: 36
Size:  14.2 KB

  2. #2
    Frenzied Member
    Join Date
    Jan 09
    Location
    Watch Window(Shift+f9)
    Posts
    1,431

    Re: i need help in vb6

    try the following way .
    Code:
    Dim Item as ListItem 'variable for your subitems
    
    ListView1.ListItems.Clear 'Clear your Listview before loading a new data
    
    While Not rs.eof
    
    Set Item = ListView1.ListItems.Add(,,rs!One)
    Item.Subitems(1) = rs!Two
    rs.movenext
    
    Wend

Posting Permissions

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