"JJ" <
[email protected]> wrote
| I forgot XP's Explorer still has Web View. THAT requires the embedded MSIE
| browser component.
Actually, XP doesn't have the embedded IE window.
I think that ended with WinME. In that case the window
content actually was a webpage, with folders/files being
a listview component on the webpage. (Lots of fun. By
editing the folder.htt file I was able to have folders be
whatever I wanted, simply by coding HTML and script.)
But the tie-in continued. Shell extensions hook into both
IE and Explorer. The ShellFolderView object model is still there.
Both folders and IE instances show up as "InternetExplorer"
objects. You have to check the TypeName of the document
object to tell them apart. I assume that's for backward
compatibility. It may still work in Win10. The following lists
file names in open folders and address of open IE instances.
(Don't open a folder with a lot of files if you want to test it.)
'--------------- vbscript--------------------
Set Shl = CreateObject("Shell.Application")
Set Wins = Shl.windows
'On Error Resume Next
For Each Win in Wins
s = ""
Set SFV = Win.document 'ShellFolderView
SFVName = UCase(TypeName(SFV))
If InStr(SFVName, "SHELLFOLDERVIEW") > 0 Then
Set oFol = SFV.Folder 'ShellFolder
Set FIs = oFol.Items ' FIs is a FolderItems collection.
For Each FI in FIs ' FI is a FolderItem
'-- watch out for wordwrap here
s = s & FI.Name & " - " & FI.Size & " bytes" & " - Last Mod.:
" & FI.ModifyDate & vbCrLf
Next
Set FIs = Nothing
Set oFol = Nothing
Else
s = "IE instance: " & Win.LocationURL
End If
Set SFV = Nothing
MsgBox s
Next
Set Wins = Nothing
Set Shl = Nothing
'----------- end vbscript ----------------
| However, by default, none of Explorer's Web View HTMLs
| has any reference to remote resource.
I don't remember all that very well. Remember there were
"Channels"? You could choose to pin ad webpages on your
Desktop. Of course, no one ever did. :) But MS was trying
to provide at least the illusion that the desktop was on
the Internet. That was the era of keyboards with buttons
to get email.
| But third party Shell Extension can
| use their own HTML which has references to remote resource;
Yes. Shell extensions can do whatever they like. They're executables.
The main difference is that they're running under Explorer/IE and thus
get access to events and objects.
I hadn't thought of file sharing as a culprit, though, as
Brian mentioned. I've never enabled file sharing, but I guess
if you share files on your home network then Explorer might be
involved?
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)