Solved

Make my own windows help-files????

Posted on 1997-02-28
1
262 Views
Last Modified: 2013-12-04
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
Comment
Question by:FunBox
1 Comment
 

Accepted Solution

by:
ewagner earned 100 total points
ID: 1298643
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

zlib is a free compression library (a DLL) on which the popular gzip utility is built.  In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file.  We'll be c…
With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question