Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

fso.GetFileVersion Description ? Company ?

Status
Not open for further replies.

Rich75

Technical User
Jun 13, 2003
22
GB
Hi
i have the code below that picks up the file version okay but i need to pick up the addition attributes of the .dll files
i.e company and description

any ideas????

thanks

Rich75

Function ShowFileDescription(filespec)
Dim fso, f
Set fso = CreateObject("Scripting.FileSystemObject")
If fso.FileExists(filespec) Then
On Error Resume Next
sVersion = fso.GetFileVersion(filespec)

If sVersion <> "" And sVersion <> Empty Then
ShowFileDescription = sVersion.Description
msgbox "here"
Else
ShowFileDescription = "NONE"
End If
Else
ShowFileDescription = "Missing"
End If

End Function
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top