• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 271
  • Last Modified:

Make my own windows help-files????

Hi
I do some programing in Visual Basic 3.0 and 4.0 .
Something that would have been really cool now is
if i Could make Windows help-files for Win. 3.x and 95
Please help me.......
0
FunBox
Asked:
FunBox
1 Solution
 
ewagnerCommented:
It is easy to make a simple help file; but time consuming to do it well.  The hard part is the content.  Look at the iconworks example in your visual basic 3.0 samples directory.  (It doesn't look like I can attach files in Experts Exchange.)
  Here is a simple step by step approach:
---------------------------------------------
1)  Create a word RTF file:  Type is some words, then enter the footnotes that create hyperlinks. Ex:
  $This is the first page of my document.  Link to next page here.
<page break>
  $This is the second page.  Pop-up link here.
<page break>
  $This is a popup link.
<page break>
The $ signs are footnotes.  (Select Insert, footnotes, custom mark = $).  Make the text for the first footnote "Contents", the second "Page2", the third "Page3".  

Now position the jump spots.
In the first page double underline the word "here".  Next to here, type "Page2".  Then make the format of the text "Page2" hidden (select font from the format menu.  

In the second page single underline the word "here". Then insert the hidden text "Page3".

Save the file as an RTF file (say testhelp.rtf).
----------------------------------
2)  Compile the help file.  In VB 3 professional the help complier was screwed up.  You need to download the HC505 version.  Search Microsoft's site for help compilier update.  The old version messed up the word fonts and your help files looked bad.
VB 4.0's so far works fine.

Make a project file with Notepad.  This is just a text file with .hpj extension.  For this example make sure all files are in the c:\temp directory and enter:

[OPTIONS]
ROOT = C:\temp
CONTENTS = contents
TITLE = My testhelp file
WARNING = 3
REPORT = ON

[FILES]
C:\temp\testhelp.RTF

Then save the file as testhelp.hpj.  Run the help complier from the dos prompt as "HC.exe c:\temp\testhelp.hpj"  This will compile the rtf file and create the testhelp.hlp help file.
---------------------------
3)  View the help file by double clicking in windows explorer or file manager.
--------------------------

Whew!  The VB 4.0 help complier will create Winhelp 4.0 compatible files which only run on Windows 95 (etc).  The VB 3 help complier makes windows 3.1(x) help files.

Good luck.
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now