Anyone know how I can determine the date and time stamp of a file? I need to continue processing after the file has been updated.
Thanks.
Printable View
Anyone know how I can determine the date and time stamp of a file? I need to continue processing after the file has been updated.
Thanks.
Private Sub Form_Load()
Dim x
x = FileDateTime("C:\my documents\try.txt")
MsgBox x
End Sub
'Wayne
You can use VB's build-in function FileDateTime.
Example:
Dim dtTimeStamp As Date
dtTimeStamp = FileDateTime("C:\MyFile.txt")
------------------
Serge
Software Developer
[email protected]
[email protected]
ICQ#: 51055819