HTML Help error – Item parameters

April 11th, 2005

If, when you click a link in an HTML Help topic, you get an HTML Help Author Message dialog box, with the message

You need to specify two Item parameters for the Shortcut command.

it is probably because you are using a networked help file.

I have a topic containing the following link, which is meant to open a PDF in a separate browser window:

<object
    classid="clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11"
    id="OBJECT1" type="application/x-oleobject">
    <param name="Command" value="Shortcut">
    <param name="Text" value="Text:User’s Guide">
    <param name="Font" value="Verdana,8,0,,UNDERLINE">
    <param name="Item1" value=",userguide.pdf,">
</object>

This works fine if everything is on the local machine, but if I try to use it on a network server, it fails with the above message. The reason for this is a security fix in version 1.4 of the HTML Help viewer that prevents the viewer being used to open up files on a remote computer. This was a big security hole in previous versions of the viewer.

For more details, see:
http://helpware.net/htmlhelp/hh_info.htm#hh14

Leave a comment