Results 1 to 2 of 2

Thread: adding lots of filenames to a listbox from a drive

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jun 2000
    Posts
    25
    I`m trying to add lot of items to a listbox from a function
    that does recursive search on a drive

    unfortuanatelly when I have a lot of items (thousands actually) it takes a long time in which the user is unable to do anything

    1)is there a way to speed it up
    2) how could I do that so many items get added up so user can do whatever and in the mean time the rest of the items get loaded up ... in background or something ...
    any general ideas ,suggestions ?
    3) would api be faster then native vb routines (I`m using recursive function at the moment) .. if so which ones

    thanks
    give me the handle and I`ll give you the world
    Adam
    junior programmer

  2. #2
    Junior Member
    Join Date
    Sep 2000
    Posts
    28

    Arrow Try this link

    Here's a link to a page (from Brad's VB-32 Programs & Samples website) that has an example.

    http://www.mvps.org/btmtz/drvscan/

    There's many comments in the code that explain the speed enhancements.

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