cstaff16 Posted December 8, 2003 Posted December 8, 2003 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? Quote
Administrators PlausiblyDamp Posted December 8, 2003 Administrators Posted December 8, 2003 Any chance you could post the code in question - will give people a better chance of finding any problems. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.