Results 1 to 2 of 2

Thread: Max Amount

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2003
    Location
    Vb Forums
    Posts
    226

    Max Amount

    Ok I am curious how many items a single list box will hold and what the way is to make it load only so much. SO if you laod a file and it exceeds 35,000 say then it will stop laoding at 35,000? Thanks guys
    Thanks For The Help Guys

  2. #2
    Frenzied Member ober0330's Avatar
    Join Date
    Dec 2001
    Location
    OH, USA
    Posts
    1,945
    VB Code:
    1. Dim reccount as Long
    2.  
    3. 'if you plan on using this more than once
    4. reccount = 0
    5.  
    6. Do While some_condition
    7.    'add elements to list box
    8.    reccount = reccount + 1
    9.    if reccount > some_constant
    10.        Exit Do
    11.    end if
    12. Loop
    format your code!! - [vbcode] [/vbcode]

    ANSWERS CAN BE FOUND HERE!!

    my personal company

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