Results 1 to 21 of 21

Thread: [RESOLVED] Find newest file in Listbox

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2000
    Posts
    154

    Resolved [RESOLVED] Find newest file in Listbox

    Hey All,

    I'm using FindFilesAPI to search a drive for a specific file, and add the results
    to a Listbox. If there are more than one copy of the same file, I need to
    find the newest one, and it to a textbox.

    The results in List1 are...

    c:\Temp7\TEST0000.INI - 3/13/06 11:04:52 AM
    c:\Temp8\TEST0000.INI - 4/07/05 3:32:52 PM
    c:\Temp9\TEST0000.INI - 6/20/06 9:57:52 AM


    How do I loop through the listbox and find the newest file?

    Thanks in advance,
    Ron

    I'm using VB5
    Last edited by rdcody; Jun 20th, 2006 at 10:20 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
  •  



Click Here to Expand Forum to Full Width