T
Tintin
Dear All,
I was trying to get my database propeties using VBA Code as follow :
Dim fs, f, s
Set fs = CreateObject("Scripting.FileSystemObject")
Set f = fs.GetFile("FileName")
zDateCreated = f.DateCreated
zDateModified = f.dateLastModified
MsgBox Created : & zDateCreated & " Modified : " & zDateModified
It works fine, but the result of Msgbox makes me curious why zDateCreated and
zDateModified is not the same when I check through File > Database Properties
1. In the MsgBox shows (yy/mm/dd hh:nn:ss) :
Created : 06/12/07 10:21:44 Modified : 06/12/07 10:22:00
2. In File > Database Properties > General (yy/mm/dd hh:nn:ss)
shows:
Created : 07/01/06 02:43:02 Modified : 07/01/05 22:48:16
Please someone tell me why? How can I get (through VBA Code) the same
Database Properties when I click File > Database Properties > General?
Thanks,
Tintin
I was trying to get my database propeties using VBA Code as follow :
Dim fs, f, s
Set fs = CreateObject("Scripting.FileSystemObject")
Set f = fs.GetFile("FileName")
zDateCreated = f.DateCreated
zDateModified = f.dateLastModified
MsgBox Created : & zDateCreated & " Modified : " & zDateModified
It works fine, but the result of Msgbox makes me curious why zDateCreated and
zDateModified is not the same when I check through File > Database Properties
General ?
1. In the MsgBox shows (yy/mm/dd hh:nn:ss) :
Created : 06/12/07 10:21:44 Modified : 06/12/07 10:22:00
2. In File > Database Properties > General (yy/mm/dd hh:nn:ss)
shows:
Created : 07/01/06 02:43:02 Modified : 07/01/05 22:48:16
Please someone tell me why? How can I get (through VBA Code) the same
Database Properties when I click File > Database Properties > General?
Thanks,
Tintin