Tech Write Tips

February 15, 2006

HTMLHelp Tab Tops

Filed under: HTMLHelp — AndyR @ 1:11 pm

TabTopOld.gifI recently came across this account of why the tabs on HTMLHelp files are sometimes displayed with the old style tab tops.

TabTopNew.gifThe bottom line is as long as the host application has registered a manifest, the help will appear themed. If it doesn’t (like the hh.exe viewer) then it appears with the old tabs tops.
You can fix this by creating a manifest file in the same folder as the .exe with the name [Executable Name].manifest. For example “HH.EXE.manifest”. Then add the following content:
<?xml version=”1.0″ encoding=”UTF-8″ standalone=”yes”?>
<assembly xmlns=”urn:schemas-microsoft-com:asm.v1″ manifestVersion=”1.0″>
<assemblyIdentity name=”MyHH.exe.Manifestfix” processorArchitecture=”x86″ version=”1.0.0.0″ type=”win32″/>
<description>MyHH.exe.Manifestfix</description>
<dependency>
    <dependentAssembly>
        <assemblyIdentity type=”win32″ name=”Microsoft.Windows.Common-Controls” version=”6.0.0.0″ processorArchitecture=”x86″ publicKeyToken=”6595b64144ccf1df” language=”*”/>
    </dependentAssembly>
</dependency>
</assembly>

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: