FileListBox and temporary internet files

I have a FileListBox on a form which won't list files within the c:\documents and settings\[username]\local settings\temporary internet files folder. Is there any reason for this? Is there any way around it?

I have all the File Type properties set to 'True'.
Who is Participating?
DragonSlayerConnect With a Mentor Commented:
because the real file structure for the temporary internet files folder is that it contains a folder called Content.IE5, underneath the folder is a file called index.dat and a bunch of subdirectories which holds the cached file.

However, when you browse using Explorer, it will read index.dat and present it as if everything is in the Temporary Internet Files folder.

If you set FileType to ftHidden and ftSystem (especially if you set all to true) you should see something.
If you really see *nothing* and you are certain that you set all FileTypes to true, than I can see no explanation except that your VCL source has been tampered with.

You can check whats going on in a vcl source. The method which should get files is in
 FileCtrl unit: FileListBox.ReadFileNames;

Set a breakpoint there and debug.
riccohbAuthor Commented:
Spot on. Thanks.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.