Click here to Skip to main content
15,902,445 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
how to retrieve creation date and time of a file stored on the disk in vb.net?
Posted
Comments
Sergey Alexandrovich Kryukov 20-Mar-12 15:59pm    
Have you been banned by Google?
--SA

Try:
VB
Dim fi As New FileInfo("D:\Temp\MyPic.jpg")
Console.WriteLine(fi.CreationTime)
 
Share this answer
 
Have you tried Google?
Here a good CP article covering your needs:
FileTime: Getting and setting the file time in .NET[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900