July 2008 Entries

Directory.GetFiles() in Modified Date/Time Order Pt2

Following on from this. I've noticed that it only gives you to the second accuracy. If your software is capable of making more than one file per second, the sort order will be date/time to the second then alphanumerically on the filename. Not ideal if your filenames are guids, the following class gives date/time sort accuracy of 100 nanosecond intervals then alphanumerically on filename :- 1: Imports System.IO 2: Imports System.Runtime.InteropServices 3: Imports System.Runtime.InteropServi... ......

Posted On Thursday, July 10, 2008 9:19 PM | Comments (1)

Copyright © Neil Smith

Design by Bartosz Brzezinski

Design by Phil Haack Based On A Design By Bartosz Brzezinski