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

Creating and writing Help page in Visual Basic 5

Visual Basic 5

The text box, like the label can only contains 256 characters. You cannot have a second line either. As for the rtb (rich text box) box, it said "You do not have a license you use this". I suppose because my Visual Basic is professional and not the enterprise edition.

1) How good is the rtb ? Does it allowed you to edit text like WordPad ?

2) I need a step-by-step on how to write winhelp or html help files & hook them to a Visual Basic program. Is there any step-by-step instruction you can point me to including an API function that called the help file by context-sensitive.
0
lin100
Asked:
lin100
  • 4
  • 2
1 Solution
 
Dang123Commented:
lin100,
    This should be good to get you started

http://freespace.virgin.net/s.cowan/vbhowto/how_to/gui/help_system.html

Dang123
0
 
Dang123Commented:
lin100,
   This should help you also.

http://www.vbcodemagician.dk/tips/help_html.htm

Dang123

0
 
lin100Author Commented:
Hi Dang123. Thank you for helping me. The first article is a good one.

The first link  http://freespace.virgin.net/s.cowan/vbhowto/how_to/gui/help_system.html
it contain this instruction

========================================
Compiling with the 32-bit version

Double-click the HPJ file or open it through the 32-bit compiler and click Save and Compile. Well done, you have created a help file. NOTE - the 32-bit version has much more options for making your help files look and act better. Experiment with it to see what you can do.

I am running Visual Basic 5.0, and it does not have any option to compile an HPJ file. I could only compile a project file. How I compile an HPJ file ?
========================================

compiling under DOS
Start --> Run --> command.com

cd vbhelp
HC vbhowto.hpj ENTER.

Error message
It does not recognize the command
0
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

 
Dang123Commented:
lin100,
    The article says "To compile the help file, you need to create a Help Project file(HPJ). To make one of these, open up notepad and enter the details opposite, and change each line to suit your needs"

When you save the file use the extension HPJ insted of TXT (you may need to put the full name in quotes to prevent notepad from adding an additional txt on the end of the name.

Dang123
0
 
lin100Author Commented:
Hi Dang123

I got the HC DOS compiler. I compiled it and it works.
Will this 16 bit version work with Visual Basic 5.0 that is run under Windows 2000 and Windows XP ?
0
 
Dang123Commented:
lin100,
    I'm not sure, you would need to test your help file on those systems. I think the DOS help files are different from the windows help files though. I would try a small quick one to test with.

    My VB6 doesn't have HC.exe either, but it has HCW.exe in the Common\Tools directory. VB5 may have this. If it does I think you should use it insted of the DOS version.

    Oh and thanks for the "A"

Dang123

0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

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