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

Help on the Help

I want to know what is the best:
Take  a common dialog or an APIs to show the help file.

Other thing:
How can i open on the Index tab and the Find tab?
1 Solution
Neither. Make the help file name part of the project property and then let the <F1> do it automatically without *ANY* code on your part.

dosylAuthor Commented:
I went on the site: http://www.helpmaster.com, and i asked my question and i had this answer:

The short answer is that either way ultimately calls the Windows API, so
neither is "better" from the standpoint of Help. It's mostly a matter of
convenience. If you are already using the CommonDialog control anyway, you
might as well use it to call WinHelp.

Unfortunately the CommonDialog Control that comes with VB 6 does not
recognize HTML Help, even though the rest of VB6 does recognize HTML Help.
So if you are going to HTML Help, this is not an option.

I tend to use straight API calls because (at least to date) most of the
programs for which I've needed File Open and such I was also trying to keep
the external files to an absolute minimum (no extra OCX or DLL files
required beyond the VB runtime). So I've been using an old
built-from-scratch File Open control and one of several definition modules
for WinHelp.

You can get several versions of WinHelp definitions (including a class
module version) from my web site. Go to www.smountain.com, click
"Conferences," and then click "Connecting Help to Visual Basic."

I hope this helps.

Don Lammers
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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