Re: Sorting images based on dimensions into folders.
- From: "mayayana" <mayaXXyana1a@xxxxxxxxxxxxxxxx>
- Date: Sun, 07 Jan 2007 04:40:23 GMT
Actually, Windows 2000 and above according to:
I don't mean the GetDetailsOf method. That works
on 98.
I was speaking of the entire script, on reviewing the info at
the MSDN link you snipped, I saw that
FolderItems/FolderItem were not available to 98 and I use
those in the script.
Yes, that's odd. That MSDN page seems to be a mis-print.
On my unchanged version of Win98SE I have v 5.00 of
SHCDOC401.DLL (the source of Shell.App on 98) and
FolderItems, etc. are available. They're also listed in
my copy of MSDN, which dates to Win98 1st edition/IE4.
Your script is all valid on 98, and probably on any Active
Desktop system, except that I don't see the FolderItems.Filter
method in an object browser.
For example, I can run the following successfully,
but it only returns the first four items: name, size, type
and last-mod.-date:
Dim oFol, oFolItem, SH, s, i
Set SH = CreateObject("Shell.Application")
Set oFol = SH.NameSpace("C:\Windows")
Set oFolItem = oFol.ParseName("notepad.exe")
For i = 0 to 40
s = s & vbCrLf & oFol.GetDetailsOf(oFolItem, i)
Next
MsgBox s
--------------
So all systems can use some version of your method,
but each gets a different collection of properties with
GetDetailsOf. In my own searches today I found those
conflicting lists of 2000/XP properties that I posted earlier,
but I never came across any definitive list for all Windows
versions.
I would guess that WinME has more properties
than Win2000, since it's newer, but I don't know about that.
The page you linked didn't mention WinME at all.
.
- References:
- Sorting images based on dimensions into folders.
- From: karnautrahl@xxxxxxxxx
- Re: Sorting images based on dimensions into folders.
- From: mayayana
- Re: Sorting images based on dimensions into folders.
- From: mayayana
- Re: Sorting images based on dimensions into folders.
- From: Keith Miller MVP
- Sorting images based on dimensions into folders.
- Prev by Date: Re: Sorting images based on dimensions into folders.
- Next by Date: Re: Sorting images based on dimensions into folders.
- Previous by thread: Re: Sorting images based on dimensions into folders.
- Next by thread: Re: Sorting images based on dimensions into folders.
- Index(es):
Relevant Pages
|