DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: sorting files by date/time

  1. #1
    Join Date
    Sep 2009

    sorting files by date/time


    first time poster/long time lurker.

    in the course of my work, i have to support some legacy apps (don't we all?!). we have several written in VB6.

    i currently have a project that is reading some xml files for content and then moving them using the File System Object to an output directory.

    unfortunately, i now am tasked with processing these files First In, First Out - which means i need to sort them via date/time, something that FSO doesn't do.

    is there an elegant method to do this?

    all the code is in a class which is compiled into a .DLL that is called by our custom engine.

    any suggestions would be greatly appreciated!

    many thanks,


  2. #2
    Join Date
    Jun 2009
    Does it make a list? You can use the API GetFileTime or the built in FileDateTime function...

    Good Luck

Similar Threads

  1. Sorting files for processing
    By brouse in forum VB Classic
    Replies: 1
    Last Post: 05-01-2007, 02:53 PM
  2. Text files to csv file conversion in Linux
    By praveenholal in forum C++
    Replies: 3
    Last Post: 03-17-2007, 12:09 AM
  3. XML files vs Database
    By Mansoor in forum Enterprise
    Replies: 2
    Last Post: 09-10-2002, 10:38 PM
  4. Replies: 0
    Last Post: 03-13-2001, 02:54 PM
  5. Replace In Files utility released
    By René Whitworth in forum vb.announcements
    Replies: 1
    Last Post: 04-29-2000, 02:54 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center