by Ryan Duval (1 Submission)
Category: Files/File Controls/Input/Output
Compatability: Visual Basic 3.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (9 Votes)
Gets the following information from any file:
CompanyName
FileDescription
LegalCopyright
ProductName
FileVersion
ProductVersion
InternalName
OriginalFilename
Basically it's the same information you glean from a file's properties. Uses no API whatsoever.
UPDATE 10/26/00
-------------------
Fixes the problem of reading smaller files that don't have the StringFileInfo section padded with null characters.
UPDATE 10/30/00
-------------------
OK, now it's perfect. Before it wouldn't find certain characters because some files are ignorant and in turn screwed up the return value but now it's all fine. Use it.
Inputs
Filename
Side Effects
Slight nostalgia
Upload