?
Solved

Creating and writing Help page in Visual Basic 5

Posted on 2003-11-12
6
Medium Priority
?
322 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
[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
  • 4
  • 2
6 Comments
 
LVL 9

Accepted Solution

by:
Dang123 earned 200 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

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.

Question has a verified solution.

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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

771 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