Hi experts,
Is this possible? To display all the files on a folder/path on a listbox/listview with icons?
Thanks in advance.
thisisgerald
Hi experts,
Is this possible? To display all the files on a folder/path on a listbox/listview with icons?
Thanks in advance.
thisisgerald
Don't forget to mark your thread as [SOLVED].
I don't see why not, you'd just loop through all the files, build an array and use this as the source of the listbox.
If you want icons as well as names, it gets more difficult and you will need to use a listview, but other than populating the control, the method concept would be the same
@Kyle
I have done it but I want a display just look like on the attached file below.
That's a pain in the ****, since you'd need to have all the icons loaded into an image list control, get the extension of the file, select the right image and display it in the listview.
You'd also need to have looped through the files with the fso and got all the file details.
What are you doing? Why not just use a built in dialogue?
I know it is pain.
I want to have a form that the user can view all the files for example in a map network drive.
I want it to display as is on the attached file. I'll be doing a temporary storage folder where they can view/add/copy those files inside that storage.
Can't you use GetOpenFileName?
Hello Kyle!
I've worked on the same control I found. Its just it don't accept other type.
Now it fixed the problem.
Thanks!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks