« October 2005 | Main | December 2005 »
November 18, 2005
Google Base
Posted by vhadiant at 08:34 AM | Comments (0) | TrackBack
November 06, 2005
Home Page in MSHelp 2
So I want to use MS Help 2 and I downloaded the really useful VSHIK 2003. This tool will help you create Microsoft Help 2.x within your Visual Studio IDE.
Now everything seems self explanatory, even defining index is nice and easy. However I got stumped in creating the "Home Page" for the help file. By default it uses whatever IE use as its homepage, so whenever I open the help file it opens SMH. It's not very intuitive but this is how you should do it.
1. Create a "Keyword Index" file and named it NamedURLIndex.HxK
2. Modify the content of the file so it should look like this:
<?xml version="1.0"?>
<!DOCTYPE HelpIndex SYSTEM "ms-help://hx/resources/HelpIndex.DTD">
<HelpIndex DTDVersion="1.0" Name="NamedURLIndex">
<!-- Insert keywords here -->
</HelpIndex>
3. The only change is the Name attribute.
4. Open the HTML file that we want to use as the Home Page
5. Add this tag inside the <HEAD> tag:
<xml>
<MSHelp:Keyword Index="NamedURLIndex" Term="HomePage"/>
<MSHelp:Keyword Index="NamedURLIndex" Term="DefaultPage"/>
</xml>
6. Open the Help project properties, go to the "Navigation" tab and select the correct Named URL Index file.
7. Build and run the project. That should work
