FileInfo

  • Thread starter Thread starter josh
  • Start date Start date
J

josh

Hi All,

I understand how to list files in a directory using directoryinfo and
fileinfo, but does anyone have any ideas how to list those files based on
creation date rather then by alphebitical order.

thanks

josh
 
Hi Josh,
Why not the listview and sort that with icomparer, there are examples on
MSDN of that.
(there are 2 examples, you need them both).
Cor
 
josh said:
I understand how to list files in a directory using directoryinfo and
fileinfo, but does anyone have any ideas how to list those files based on
creation date rather then by alphebitical order.

You will have to get the files' timestamps and sort them...
 
Back
Top