Hi,
I am using following code to get size of Image i.e. 1024 x 768.
This code is returning only "Dimensions" keyword.
Any suggestion from experts?
I am using following code to get size of Image i.e. 1024 x 768.
This code is returning only "Dimensions" keyword.
Code:
Function PictureDimensions(filePath As String) As String
Set FSO = CreateObject("Scripting.FileSystemObject")
Set objShell = CreateObject("Shell.Application")
strParent = FSO.GetParentFolderName(filePath)
strArgFileName = FSO.GetFileName(filePath)
Set objFolder = objShell.Namespace(strParent)
PictureDimensions = objFolder.GetDetailsOf(strParent, 31)
End Function
Any suggestion from experts?
Last edited by a moderator: