Results 1 to 3 of 3

Thread: listbox array

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2005
    Posts
    146

    listbox array

    Hi there,

    can somebody show me how to retrieve all the items from the listbox for my gethistory sub.

    VB Code:
    1. Sub GetHistory(Index As Integer, Msg As String)
    2. Dim a As Integer
    3.  
    4. End Sub


    ' using Time makes the listbox flicker for some reason, o well

    VB Code:
    1. Public Sub AddHistory(Msg As String)
    2. On Error Resume Next
    3. Dim a As Integer
    4.  
    5. List1.AddItem Time & Msg, 0
    6. If List1.ListCount = 11 Then
    7. List1.RemoveItem 10
    8. End If
    9.  
    10. End Sub
    Last edited by mrnew; Aug 10th, 2006 at 06:10 AM.

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