Whilst trying to open several image files at once I have come across a situation where a file throws up several exceptions namely EInvalidGraphic EInvalidOperation EAccessViolation. Basically what I am doing is
for i := 0 to FileListBox1.Count -1 do
create image stuff
I am using this for thumbnail/slideshow effect. I've used try except for trapping one error but can't do it for all. Is ther a universal try except that will trap all possible errors or how do I use more than one try except. What I want is to ignore the file that creates the exception and only exit from the loop when all files have been attempted to open. At the moment if I have say 16 files in the directory and the fourth raises exception it either stops at 4 or stops at 4 and hangs.