Hi All:
I'm trying to get the file info, such as the file size, created and modified time. I know in VB, we can use file system object like the following:
' Get the date file was created
Set fs = CreateObject ("Scripting.FileSystemObject"
Set f = fs.GetFile (cDataFile)
LayDate = f.DateCreated
' Remove seconds from the time
LayDate = Left(LayDate, Len(LayDate) - 3)
LayDate = Replace(LayDate, " ", ","
Set f = Nothing
Set fs = Nothing
But, does anyone know the equivalent code in visual c++?
Thank you in advance.
I'm trying to get the file info, such as the file size, created and modified time. I know in VB, we can use file system object like the following:
' Get the date file was created
Set fs = CreateObject ("Scripting.FileSystemObject"
Set f = fs.GetFile (cDataFile)
LayDate = f.DateCreated
' Remove seconds from the time
LayDate = Left(LayDate, Len(LayDate) - 3)
LayDate = Replace(LayDate, " ", ","
Set f = Nothing
Set fs = Nothing
But, does anyone know the equivalent code in visual c++?
Thank you in advance.