Solved

Creating and writing Help page in Visual Basic 5

Posted on 2003-11-12
6
315 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
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
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…
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…

758 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

18 Experts available now in Live!

Get 1:1 Help Now