I believe you could translate the code back from VB.NET to VB6. But if you cannot do it for some reason, then search google for words "VB6" and "sort files": you will find a plenty of examples.
>Thanks. Any way you can do that in VB6 ?
>
>>See
http://vb2themax.com/ShowContent.aspx?ID=38f32e71-ab8e-449d-9557-8417bd31c350>>
>>>Hi all,
>>>How do you sort files on filename or filecreate date in a direcotry by using FileSystemObject?
>>>
>>>Thanks.
>>>
>>>Kam.