Hello
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? 3 6092
Gazing into my crystal ball I observed Mark <ma*********@ex eloncorp.com>
writing in news:642e18da-efa9-4956-b8d4-419a8e6a2fd8
@m3g2000hsc.goo glegroups.com:
Hello
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?
IIRC, Windows treats html and htm differently because back in the day,
Windows was restricted to eleven characters in its file naming
conventions, the name of the file could be up to eight characters, and
the extention was three.
Html and htm files are exactly the same. You can set how to open each
through the control panel, folder options, file types.
--
Adrienne Boswell at Home
Arbpen Web Site Design Services http://www.cavalcade-of-coding.info
Please respond to the group so others can share
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*...
Adrienne Boswell schreef:
Gazing into my crystal ball I observed Mark <ma*********@ex eloncorp.com>
writing in news:642e18da-efa9-4956-b8d4-419a8e6a2fd8
@m3g2000hsc.goo glegroups.com:
>Hello
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?
IIRC, Windows treats html and htm differently because back in the day,
Windows was restricted to eleven characters in its file naming
conventions, the name of the file could be up to eight characters, and
the extention was three.
I must say that I still tend to use three character extensions however
Windows does not show them by default anymore which is supposed to be an
advance to the noob (who is not incidentily renaming a file to a
different type) but confusing for the normal user IMO. So I would
suggest unhiding file extension view, it is much more informative than
those arbitrary names which are given by the programs that are
associated with it. I don't like the name HTML Document much, that could
also have refered to packaged HTML, like that for help file formats.
>
Html and htm files are exactly the same. You can set how to open each
through the control panel, folder options, file types.
I think the program will search both *.htm and *.html since it notices
both extensions. But you can just check that and otherwise change the
program a bit. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: alex |
last post by:
Hi,
I am looking for a way to populate an HTML table from an external
local text file which looks like this:
DATE/TIME LAT. LON. DEPTH. ML.
-------------------- ---------- ---------- ------- -------
21/03/2005-04:06:03 XX,XX XX,XX 171 3,42
21/03/2005-12:23:53 XX,XX XX,XX 500 5,4
21/03/2005-12:43:10 XX,XX XX,XX 553 5,38
|
by: cirillo_curiosone |
last post by:
Hi,
i'm new to javascript. I started studing it on the web few weeks ago,
but still haven't been able to solve one big problem: HOT TO PASS VALUES
FROM A SCRIPT VARIABLE TO A CHILD HTML GENERATED BY FUNCTION.
Here'e the point:
I'm writing a simple website for showing my photographs. It has a
central page with many links (as many as galleries are).
|
by: JJ_377 |
last post by:
Why won't Netscape do the intended in the following? IE is able to
render this page as intended. It is is a "self-posting" ASP form with a
JavaScript validation function: if the form fails the JavaScript
validation function, then the form should not post and an alert should
be issued as indicated below.
The *first* alert in the Validate function works in NS, but the rest of
the code does not and therefore I wonder about the way I am...
|
by: Robby Bankston |
last post by:
I'm working on some code and am running into brick walls. I'm trying
to write out Javascript with Javascript and I've read the clj Meta FAQ
and didn't see the answer, read many similar posts (with no luck
though), and searched through the IRT.ORG Faqs
(www.irt.org/script/script.htm).
The Javascript is designed to open an popup window and then inside that
window call another script which will resize that window. There may be
another...
|
by: Jake j |
last post by:
To those of you who sent me working examples of js include routines,
much thanks. I see from them examples that what I'm trying to get to
requires a higher level of js knowledge than I've got. Here's what I'm
really trying to do:
I've been using a sliding banner javascript routine in several html
files and it works fine. Rather than duplicate the code in each file,
however, it would obviously be preferable to including the routine in...
| |
by: purespam |
last post by:
How can I dynamically add file links to a html document?
I need to be able to click an image icon and the "Open file" box should
pop up where I can select a document from my harddisk. The document
should then be added to the html file at a specific spot and the file
reloaded with the new document added to the html file showing. This new
document should be stored in its new form.
Is this possible? Or is it too hard to find the spot in...
|
by: alex |
last post by:
my html page like this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>script.aculo.us Autocompleter functional test file</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<script src="../../lib/prototype.js" type="text/javascript"></script>
<script...
|
by: Montezuma's Daughter |
last post by:
Hi All
I wanted to know what is the difference between:
1.getting an object
the first worked for me and the other didn't
var Subform = document.getElementById("Items2");
var Subform =document.all("Items2")
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |