Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
I have an Application in VB 6.0 that is used as a Document Viewer for various files at work. Some of the folders on our network contain thousands of files so that when you access them, it can take a few seconds to populate a listbox or listview with the filenames. I used Windows API functions in VB6.0 to get a speed comparable to Windows Explorer. When I re-wrote the App in VB.NET I used the FileInfo Class and DirectoryInfo class to populate a listview. When I access the folders with thousands of files it is extremely slow, and sometimes just hangs. Does anyone know of any better and quicker classes to use in VB.NET or am I forced to go with my API functions again? Also, when I get the speed issue resolved, does anyone know a good resource on how to add system icons to the listview?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...