|
Posted by John Hosking on May 15, 2008, 10:56 am
Please log in for more thread options
Mark wrote:
>
> This might be an odd question. I have an Excel VBA program that
> searches through a folder for any .htm or .html file, searches the
> file for any 'hrefs' and prints them to the spreadsheet. For some
> reason I have noticed that some of the files are HTML Documents, and
> some are HTML Files, and the program is only searching through the
> HTML Files. I'm not sure if there is a difference between the two.
> The only thing that I can notice is that they are different icons, and
> when double clicked, the HTML Document opens in IE, and the HTML File
> opens in Notepad. Any ideas?
Sounds like a matter of Microsoft Windows' file types to me, for which I
will be no help. If you get to a File Types dialog in Windows (e.g., via
Explorer in Tools-Folder Options-File Types) you will see a long list of
registered file types, many of which seem to be duplicates to us humans
but are (sometimes?) treated as discrete by the computer.
I can't explain any more than that, because I don't completely
understand the mechanism or logic of it, but that's my theory for you.
--
John
Not that I'm *bitter*...
|