Solved

Creating and writing Help page in Visual Basic 5

Posted on 2003-11-12
6
319 Views
Last Modified: 2013-11-25
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
Comment
Question by:lin100
  • 4
  • 2
6 Comments
 
LVL 9

Accepted Solution

by:
Dang123 earned 50 total points
ID: 9734443
lin100,
    This should be good to get you started

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

Dang123
0
 
LVL 9

Expert Comment

by:Dang123
ID: 9734505
lin100,
   This should help you also.

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

Dang123

0
 

Author Comment

by:lin100
ID: 9735240
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
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 
LVL 9

Expert Comment

by:Dang123
ID: 9739677
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
 

Author Comment

by:lin100
ID: 9740558
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
 
LVL 9

Expert Comment

by:Dang123
ID: 9741028
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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Suggested Solutions

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

828 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