Solved

Make my own windows help-files????

Posted on 1997-02-28
1
259 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

This tutorial is about how to put some of your C++ program's functionality into a standard DLL, and how to make working with the EXE and the DLL simple and seamless.   We'll be using Microsoft Visual Studio 2008 and we will cut out the noise; that i…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

762 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

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now