Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
[blue]MsgBox "Bit depth of F:\File Downloads\FC3BugScreen.png: " & CreateObject("Shell.Application").Namespace("F:\File Downloads").Items.Item("FC3BugScreen.png").ExtendedProperty("Bitdepth")[/blue]
[blue][green]' Requires references to Microsoft Scripting Runtiime library and Microsoft Shell Controls and Automation library[/green]
Private Function GetExtendedProperty(strFile As String, Optional varProperty As Variant = 0) As String
Dim fso As New FileSystemObject
Dim myFolder As String
With New Shell32.Shell
myFolder = fso.GetParentFolderName(strFile)
Select Case TypeName(varProperty)
Case "String"
GetExtendedProperty = .Namespace(myFolder).Items.Item(fso.GetFileName(strFile)).ExtendedProperty(varProperty)
Case "Long", "Integer"
GetExtendedProperty = .Namespace(myFolder).GetDetailsOf(.Namespace(myFolder).ParseName(fso.GetFileName(strFile)), varProperty)
End Select
End With
End Function[/blue]