We can create Help File in MS Word as well as in HTML. Here I would like to describe how to create a Help File for VB using MS Word.
Keep the mouse cursor at the beginning of the topic description and from the insert menu select reference and add footnote for all the topics description one by one and the footnote number should be the same as the ID number that we have given along with the topic name.
The custom mark for the footnote should be # symbol.
The MS Word page will look like this.
Put a reference for the first topic also.
Save the document in a Rich Text Format.
You should have Microsoft Help Workshop installed in your machine. If you don’t have it, just download hcw.exe from internet and install the same.
Open start --> Microsoft Help Workshop --> Help Workshop
File --> New --> Help Project --> OK --> Enter a Project Name (for a new help project) --> OK.
Click on Files --> Add --> Browse the location of Rich Text File that we have saved before.
Click on Map --> Enter the Topic Id (we have used in .rtf file) and put Numeric value for the same that we will use in future.
Now click on “Save and Compile” button.
Our Help File has been created where we had saved the Help Project.
We need to copy the Help file from that location and paste into the VB Project location in which Project we want to add this Help File.
In order to make this Help file available in our visual basic project, we can go to Project menu and Project Properties. Then browse the location of help file and put the numeric id of the main topic --> OK.
0 comments:
Post a Comment