Discussion:
Alias CHM file
(too old to reply)
Louis
2008-06-19 18:57:19 UTC
Permalink
Folks,

For the longest, we have been using a file called AUP.CHM (Automatic
Update Program) as part of our addendum, change/history help file for
updates.

Over time, it has evolved to become the official "help file" and we wish
now to give it an appropriate product name help file name, i.e.
WildcatHelp.chm

The thing is we have hundreds of documents that make references to
AUP.CHM across many resources so what I would like to do is provide a
"stub" AUP.CHM which will open WildcatHelp.chm instead.

How do you do this?

In the old HLP system, we were able to do this with a .CNT file and in
fact, that was one one we migrated to AUP.CHM with a link in this file:

1 Last minute changes
2 Addendum=!EF(`hh.exe',`ms-its:aup.chm::/aupindex.htm',1)

I could just make a copy and provide both. But if I can avoid this,
that would be ideal.

Thanks in advance.

---
Pete Lees
2008-06-19 19:36:00 UTC
Permalink
Hi, Louis,
Post by Louis
For the longest, we have been using a file called AUP.CHM (Automatic
Update Program) as part of our addendum, change/history help file for
updates.
Over time, it has evolved to become the official "help file" and we wish
now to give it an appropriate product name help file name, i.e.
WildcatHelp.chm
The thing is we have hundreds of documents that make references to
AUP.CHM across many resources so what I would like to do is provide a
"stub" AUP.CHM which will open WildcatHelp.chm instead.
I'm not sure if this precisely meets your needs, but, if you were to compile
into AUP.CHM a default topic like the one below, WildcatHelp.chm will open
and AUP.CHM will close whenever the latter is opened. One proviso is that
because this technique uses the Shortcut command of the HTML Help ActiveX
control to open WildcatHelp.chm, it won't work when the help files are stored
on a network drive. For the reason why, see
http://support.microsoft.com/?kbid=323180.

<html>

<body onLoad="JavaScript:Close.Click();ShortCut.Click()">

<object id="ShortCut" classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
<param name="Command" value="ShortCut">
<param name="Item1" value=",hh.exe,ms-its:WildcatHelp.chm">
</object>

<object id="Close" classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
<param name="Command" value="Close">
</object>

</body>
</html>

Pete
Louis
2008-06-19 22:13:32 UTC
Permalink
Hi Pete!
Post by Pete Lees
Hi, Louis,
I'm not sure if this precisely meets your needs, but, if you were to compile
into AUP.CHM a default topic like the one below, WildcatHelp.chm will open
and AUP.CHM will close whenever the latter is opened. One proviso is that
because this technique uses the Shortcut command of the HTML Help ActiveX
control to open WildcatHelp.chm, it won't work when the help files are stored
on a network drive. For the reason why, see
http://support.microsoft.com/?kbid=323180.
<html>
<body onLoad="JavaScript:Close.Click();ShortCut.Click()">
<object id="ShortCut" classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
<param name="Command" value="ShortCut">
<param name="Item1" value=",hh.exe,ms-its:WildcatHelp.chm">
</object>
<object id="Close" classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
<param name="Command" value="Close">
</object>
</body>
</html>
Ok, got ya. Yes, this work, except when across the network. :-)

Interesting, if we can make do even with the network thing, how do we
make sure the little popup doesn't appear? I just tried using a
style="display:none" Still popups a small box before closing.

Thanks for steering in the right direction.

--
Rob Cavicchio
2008-06-20 03:43:00 UTC
Permalink
Try opening the project (HHP) file for the AUP.CHM file in a text editor and
setting the size & position section to [0,0,0,0]. I've used this trick
before to keep the window entirely hidden.
Post by Louis
Hi Pete!
Post by Pete Lees
Hi, Louis,
I'm not sure if this precisely meets your needs, but, if you were to
compile into AUP.CHM a default topic like the one below, WildcatHelp.chm
will open and AUP.CHM will close whenever the latter is opened. One
proviso is that because this technique uses the Shortcut command of the
HTML Help ActiveX control to open WildcatHelp.chm, it won't work when the
help files are stored on a network drive. For the reason why, see
http://support.microsoft.com/?kbid=323180.
<html>
<body onLoad="JavaScript:Close.Click();ShortCut.Click()">
<object id="ShortCut"
classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
<param name="Command" value="ShortCut">
<param name="Item1" value=",hh.exe,ms-its:WildcatHelp.chm">
</object>
<object id="Close" classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
<param name="Command" value="Close">
</object> </body>
</html>
Ok, got ya. Yes, this work, except when across the network. :-)
Interesting, if we can make do even with the network thing, how do we make
sure the little popup doesn't appear? I just tried using a
style="display:none" Still popups a small box before closing.
Thanks for steering in the right direction.
--
Loading...