0

Hai all,

I want to get to know about the file summary like last saved by, last printed on, authour
etc...
How can get it using file info function.
Thanks in advance.

2
Contributors
2
Replies
3
Views
9 Years
Discussion Span
Last Post by Pgmer
0

Try System.IO.File Class or System.IO.FileInfo Class for these details

FileInfo Example

Dim FileInfos As FileInfo
    FileInfos = New FileInfo("C:\Windows")
    Dim sFileInfo As String
    
    sFileInfo = "C:\Windows" & vbCrLf
    sFileInfo = sFileInfo & "Created on " & FileInfos.CreationTime & vbCrLf
    sFileInfo = sFileInfo & "Last Accessed on " & FileInfos.LastAccessTime

    MessageBox.Show(sFileInfo)
0

Thanks for reply.
I know how to get last accessed time
created time.
but i want to know about last saved by,last printed on, author of the document..
Thank u.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.