You can use a FileInfo object instance (from the System.IO namespace):
Dim objFileInfo As New FileInfo("c:\temp\test.txt")
messagebox.show ("Last write = " & objFileInfo.LastWriteTime)
>hi
>
>How i can to obtain the last file created?
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com