Geeks With Blogs
Neil Smith [blog]code til ur fingers bleed August 2006 Entries
Directory.GetFiles() in Modified Date/Time Order
I’ve been forced in to using for a windows service project which scans a folder of xml files, they need to be processed in order of the files modified date & time. Directory.GetFiles() returns an array of filenames in alphabetic order, I could find precious little information on the net so I thought I’d share what I came up with :- Imports System.IO Public Class clsCompareFileInfo Implements IComparer Public Function Compare(ByVal x As Object, ByVal y As Object) As Integer ......

Posted On Thursday, August 17, 2006 11:35 AM

Copyright © Neil Smith | Powered by: | Join free