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.
---
> 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
Pete Lees wrote:
> 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.
--
"Louis" <nos...@nospam.com> wrote in message
news:%234961nl...@TK2MSFTNGP05.phx.gbl...