Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. FSO and speed

FSO and speed

Scheduled Pinned Locked Moved Visual Basic
sysadminperformancequestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    steff kamush
    wrote on last edited by
    #1

    Hi I am using FSO (Microfoft File System Object dll) to move TIF image files from a network shared folder A to another network share B in vb6. If I want to move a single file from A to B, does the number of images in either folder matter in terms of effects on speed? I am experiencing an huge slug in speed if I increase the number of files in A, even if I want to move only a small fraction of the files in A to B. My thinking is that FSO actually has to search for an image before moving it. Is there a difference to FSO (or Windows 2000 file system) if folder A has 20,000 files compared to when folder A has 100 TIF files? :rose::rose: 1fm1fu

    D 1 Reply Last reply
    0
    • S steff kamush

      Hi I am using FSO (Microfoft File System Object dll) to move TIF image files from a network shared folder A to another network share B in vb6. If I want to move a single file from A to B, does the number of images in either folder matter in terms of effects on speed? I am experiencing an huge slug in speed if I increase the number of files in A, even if I want to move only a small fraction of the files in A to B. My thinking is that FSO actually has to search for an image before moving it. Is there a difference to FSO (or Windows 2000 file system) if folder A has 20,000 files compared to when folder A has 100 TIF files? :rose::rose: 1fm1fu

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      If your using the FSO Folder class, then yes, there is a huge difference in speed. This is because the Folder object is enumerating all the files in the folder to populate its Files collection. If your using the FSO.CopyFile method, no there shouldn't be a huge difference in speed, but there will be a difference. Unless you have those 20,000 files sitting on a FAT volume...please say it isn't so! RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups