The traditional way of displaying a file in a fileListBox is by using DriveListBox, DirListBox, and FileListBox. I would like to know how to show files on FileListBox by just using DriveListBox. Let say if I choose C:\, all the files on drive C: with a .ico, .dll, .exe, .ocx extension will appear on the FileListBox without choosing a directory. It will automatically extract files in all directory.

Recommended Answers

All 3 Replies

Load the appropriate properties from the drivelist into the filelist properties when you change the drivelist.

I get your point, but another question. How? I am new to DriveListBox, FileListBox, and DirListBox. And all I know is this:

File1.path = Dir1.path

which is use to load files in directory specified and so on.

I get your point, but another question. How? I am new to DriveListBox, FileListBox, and DirListBox. And all I know is this:

File1.path = Dir1.path

which is use to load files in directory specified and so on.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.