|
|
SynopsisReturns the operation system's summary information for a file. This is the information you get when you right-click a file, then choose properties. CODE ' GetSummaryInfo
' http://www.utteraccess.com/wiki/index.php/GetSummaryInfo ' Code courtesy of UtterAccess Wiki ' Licensed under Creative Commons License ' http://creativecommons.org/licenses/by-sa/3.0/ ' ' You are free to use this code in any application, ' provided this notice is left unchanged. ' ' rev date brief descripton ' 1.0 2011-04-26 ' Function GetSummaryInfo(vPath As Variant, vName As Variant, iColumn As Integer) As Variant Dim objShell As Object Dim objFolder As Object Dim objItem As Object Set objShell = CreateObject("Shell.Application") Set objFolder = objShell.NameSpace(vPath) Set objItem = objFolder.ParseName(vName) GetSummaryInfo = objFolder.GetDetailsOf(objItem, iColumn) End Function
The value if iColumn is a number between 0 and 34. Each number represents a "column" of information.
For additional information please check out: Retrieving Extended File Properties
|
| This page was last modified 16:22, 26 April 2011. This page has been accessed 337 times. Disclaimers |