Solved

Make my own windows help-files????

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
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…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

910 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

24 Experts available now in Live!

Get 1:1 Help Now