|
-
Aug 26th, 2010, 01:22 AM
#1
Thread Starter
New Member
i need t return the author of a document file in vb
i need t return the author of a document file in vb
what i already did is:
Try
Dim sFileSize As String
Dim location As String
Dim lastTime As String
Dim lastModified As String
Dim name As String
Dim finalString As String
Dim FI As System.IO.FileInfo = New System.IO.FileInfo("C:\Users\Jean\Desktop\1.m4a")
name = "File name: " + FI.Name.ToString
sFileSize = "file length: " + FI.Length.ToString
location = "File location: " + FI.Directory.ToString
lastTime = "This file was last accessed on: " + FI.LastAccessTime.ToString
lastModified = "This file was last modified on: " + FI.LastWriteTime.ToString
finalString = name & vbCrLf & sFileSize & vbCrLf & location & vbCrLf & lastTime & vbCrLf & lastModified
MsgBox(finalString)
Catch ex As Exception
MsgBox(ex.Message)
End Try
i need to get the author
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|