Solved

Make my own windows help-files????

Posted on 1997-02-28
1
263 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

If you have ever found yourself doing a repetitive action with the mouse and keyboard, and if you have even a little programming experience, there is a good chance that you can use a text editor to whip together a sort of macro to automate the proce…
This article surveys and compares options for encoding and decoding base64 data.  It includes source code in C++ as well as examples of how to use standard Windows API functions for these tasks. We'll look at the algorithms — how encoding and decodi…
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…

740 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