Search Tools Links Login

File ListView


A little while ago somebody posted a listview that will automatically display a file listing for you. I thought this was a good idea and downloaded it. While it was nice, it had some bugs. Instead of just fixing that code, today I decided to make one myself. 90% of it was made simply using the Active X Control Wizard. I then added some code to read the icons for the files to dispaly in the ListView and few other tweaks to what the wizard made. In the end I have this control for you. While it is functional and easy to understand, you may wish to add/alter the code a bit to make it a bit more robust for all needs. Have fun with it. Simply set the Path property to a full path you wish to display files of and presto. On ItemClick or DblClick you can check and read the ItemType property to determine if the user clicked or double clicked on a Folder or a File ListItem and perform the logic you desire.

Original Author: Clint LaFever

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 81 times

Categories

Visual Basic 6

Attachments

File_ListV479861112002.zip
Posted: 9/3/2020 3:45:00 PM
Size: 25,141 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.