Re: How to get a file's title
- From: "mayayana" <mayaXXyana@xxxxxxxxx>
- Date: Fri, 12 Sep 2008 23:52:51 -0400
While you made valid points, I got a laugh out of that
last statement....
Shell.Application is not designed
for dealing with the file system. It's designed as a
tool for Explorer to use in displaying folder content.
Exactly what else would be in a folder, other than files???
What I meant was that Shell is not designed for file
system functionality, in contrast to the API functions,
FSO, etc. It's a very specific and limited set of functions
(originally part of Active Desktop and requiring Active
Desktop) designed specifically to give Explorer a wrapper
that provides what it needs to display files, operate a
context menu within a folder, show a thumbnail for a
selected file, etc. "The ShellFolderView object represents
the objects in a view." (Shell then became popularized in
scripting because it was accessible, but it's really folder-
view-specific. It was originally designed as an ActiveX
control, embedded in the folder.htt webpage, which
provided scriptable access to the folder ListView for
script in folder.htt. It still serves the same role in XP --
WebView has been removed but the object model was
continued for compatibility.)
In other words, Shell is mainly dealing with the *display*
functionality of the ListView (via the object
ShellFolderView/WebViewFolderContents)
rather than with file system functionality per se. It's not
dependable as a way to actually know what files are in
a folder, as I detailed in the earlier post.
.
- Follow-Ups:
- Re: How to get a file's title
- From: Larry Serflaten
- Re: How to get a file's title
- References:
- How to get a file's title
- From: fniles
- Re: How to get a file's title
- From: expvb
- Re: How to get a file's title
- From: MikeD
- Re: How to get a file's title
- From: fniles
- Re: How to get a file's title
- From: Larry Serflaten
- Re: How to get a file's title
- From: mayayana
- Re: How to get a file's title
- From: Larry Serflaten
- How to get a file's title
- Prev by Date: Re: Close #FNbr
- Next by Date: Re: Create an MS Access Table in VB6
- Previous by thread: Re: How to get a file's title
- Next by thread: Re: How to get a file's title
- Index(es):
Relevant Pages
|