Results 1 to 2 of 2

Thread: performance question

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2002
    Posts
    19

    performance question

    hi guys!
    which is faster between these 2 approaches to return the list of files matching a filter in a particular path?

    1. using the DIR function
    Dir(<filter>)

    2. using a file list box
    FileListBox.Pattern = <filter>

    which is better to use???

  2. #2
    Fanatic Member
    Join Date
    Feb 2000
    Location
    Dunmow,Essex,England
    Posts
    898
    Easy way is to try both and time it. But on the surface i'd expect the DIR format to be faster because you havn't got the overhead of the listbox.

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