Discussion:
Associating HTML with HH.EXE
(too old to reply)
Bob
2004-06-14 20:06:12 UTC
Permalink
I did:

ftype htmlfile=hh.exe "%1"
ftype htmlfile=M:\WINNT\hh.exe "%1"
ftype htmlfile="M:\WINNT\hh.exe" %1
ftype htmlfile="M:\WINNT\hh.exe" "%1"

Either it didn't open the file Or it did open a the HTML file but
threw up an error saying it couldn't find the file it just opened?

What is the proper command for make HH.EXE the default application for
HTML files?

Help?

Robert
Ulrich Kulle
2004-06-14 21:35:01 UTC
Permalink
Hello Bob,

it may be that I haven't thought of all possibilities. However, the assignment
of hh.exe to HTML files doesn't make sense from my point of view.

HH.EXE is distributed with HTML Help so you can rely on it being present when
you have installed Internet Explore 4.x or greater. It lives in the Windows
folder and has a limited number of command-line options. HH.EXE is associated
with .CHM files. So double-click a *.CHM file and Windows will open the file
using HH.EXE. Its a very small file, it mostly passes the help filename onto a
HH API library. HH.EXE is not single instance, if you open a CHM file three
times using HH.EXE, then three help windows will appear.

CHM's are "Compiled Help Modules" that are based on HTML files, pictures, etc.
This is for Windows based systems.

I would recommend to use the Internet Explorer iexplorer.exe as default
application.
For further information about hh.exe command line see:
http://www.help-info.de/en/Help_Info_HTMLHelp/hh_command.htm
http://www.helpware.net/FAR/far_faq.htm#HHEXEParams

Best regards
Ulrich Kulle
***************************************
http://www.help-info.de
***************************************
Post by Bob
ftype htmlfile=hh.exe "%1"
ftype htmlfile=M:\WINNT\hh.exe "%1"
ftype htmlfile="M:\WINNT\hh.exe" %1
ftype htmlfile="M:\WINNT\hh.exe" "%1"
Either it didn't open the file Or it did open a the HTML file but
threw up an error saying it couldn't find the file it just opened?
What is the proper command for make HH.EXE the default application for
HTML files?
Bob
2004-06-15 01:52:44 UTC
Permalink
Post by Ulrich Kulle
Hello Bob,
it may be that I haven't thought of all possibilities. However, the assignment
of hh.exe to HTML files doesn't make sense from my point of view.
HH.EXE is distributed with HTML Help so you can rely on it being present when
you have installed Internet Explore 4.x or greater. It lives in the Windows
folder and has a limited number of command-line options. HH.EXE is associated
with .CHM files. So double-click a *.CHM file and Windows will open the file
using HH.EXE. Its a very small file, it mostly passes the help filename onto a
HH API library. HH.EXE is not single instance, if you open a CHM file three
times using HH.EXE, then three help windows will appear.
CHM's are "Compiled Help Modules" that are based on HTML files, pictures, etc.
This is for Windows based systems.
I would recommend to use the Internet Explorer iexplorer.exe as default
application.
http://www.help-info.de/en/Help_Info_HTMLHelp/hh_command.htm
http://www.helpware.net/FAR/far_faq.htm#HHEXEParams
Best regards
Ulrich Kulle
I *have* to use something other than Internet Explorer for reasons I
cannot go into here.

Bob
Dana Cline - MVP
2004-06-15 12:08:28 UTC
Permalink
Bob,

Can you use Mozilla or Netscape?

Dana Cline - MVP
Post by Bob
I *have* to use something other than Internet Explorer for reasons I
cannot go into here.
Bob
Robert
2004-06-15 13:47:27 UTC
Permalink
I cannot use *any* full blown browsers.

Bob
Post by Dana Cline - MVP
Bob,
Can you use Mozilla or Netscape?
Dana Cline - MVP
Post by Bob
I *have* to use something other than Internet Explorer for reasons I
cannot go into here.
Bob
Dana Cline - MVP
2004-06-15 14:10:13 UTC
Permalink
Post by Robert
I cannot use *any* full blown browsers.
Then, as Jake Elwood said to the Penguin, "you're really up a creek". The
_only_ way I know to do this would be to create a shell program, using C++,
VB, or C#, and drop in the shdocvw.dll control for the web browser part.
Then, you'd still be using IE's guts.

Sounds like you may need to go back to the powers that be and tell them they
can't have what they won't approve...

Dana Cline - MVP
Bob Dietz
2004-06-15 16:28:20 UTC
Permalink
Post by Robert
I cannot use *any* full blown browsers.
Bob
Post by Dana Cline - MVP
Bob,
Can you use Mozilla or Netscape?
Dana Cline - MVP
Post by Bob
I *have* to use something other than Internet Explorer for reasons I
cannot go into here.
Bob
Open any *.chm (html help file).
Right click in the Contents pane and choose, Jump to URL...

First try a .htm or .html file on your hard disk, eg.
C:\Documents and Settings\<your_log-on_name>\Personal.html

If that works, try an actual web address, eg.
http://www.google.com

In any case you'd be using the guts of IE, and be exposed to most of
it's security risks.

Management may choose to believe that this violates existing policy!
--
Bob Dietz
squeeky
2004-06-17 07:19:41 UTC
Permalink
there are many other browsers (which you can download for
free) such as mozilla, avant, etc. you can then go to:

Folder Options > File Type > 'Advanced' button ->
hilite 'Open' > 'Edit' button -> input program you want
HTML's to open in - then "OK" it...

...to assign HTML's to open with such (if needed - but
most likely simply installing a new browser will adjust
associations automatically)

but if your issue is other than simply with IE and rather
with browsers in general - well then the only thing i can
think of at the moment is open HTML's in Word - again:
'Folder Options > File Type' etc. etc.
note that in word the HTML will appear realatively normal
but editable.
-----Original Message-----
Post by Ulrich Kulle
Hello Bob,
it may be that I haven't thought of all possibilities.
However, the assignment
Post by Ulrich Kulle
of hh.exe to HTML files doesn't make sense from my
point of view.
Post by Ulrich Kulle
HH.EXE is distributed with HTML Help so you can rely
on it being present when
Post by Ulrich Kulle
you have installed Internet Explore 4.x or greater. It
lives in the Windows
Post by Ulrich Kulle
folder and has a limited number of command-line
options. HH.EXE is associated
Post by Ulrich Kulle
with .CHM files. So double-click a *.CHM file and
Windows will open the file
Post by Ulrich Kulle
using HH.EXE. Its a very small file, it mostly passes
the help filename onto a
Post by Ulrich Kulle
HH API library. HH.EXE is not single instance, if you
open a CHM file three
Post by Ulrich Kulle
times using HH.EXE, then three help windows will
appear.
Post by Ulrich Kulle
CHM's are "Compiled Help Modules" that are based on
HTML files, pictures, etc.
Post by Ulrich Kulle
This is for Windows based systems.
I would recommend to use the Internet Explorer
iexplorer.exe as default
Post by Ulrich Kulle
application.
http://www.help-
info.de/en/Help_Info_HTMLHelp/hh_command.htm
Post by Ulrich Kulle
http://www.helpware.net/FAR/far_faq.htm#HHEXEParams
Best regards
Ulrich Kulle
I *have* to use something other than Internet Explorer
for reasons I
cannot go into here.
Bob
.
a***@discussions.microsoft.com
2004-06-19 03:43:58 UTC
Permalink
Post by Robert
I cannot use *any* full blown browsers.
well Bob,
the only thing i can think of is using an HTML editor
like word (as i stated in another post)
or HandyHTML Studio which is an extremely nice editor -
shows source and updates edits almost instantly in the
(resizable) HTML viewer.

my latest project however relates directly to your quest:
i want to develop an .htm with a frameset where the top
frame consists of an addess bar with a browse feature -
so i can display any .htm/html on my pc in the bottom
frame. this is to be included in a .chm help file -
unfortunatly i am busy with other stuff and the project
may take a few weeks - in fact now that i think of it
i'll post for help on the thing here - wish me luck.

Loading...