Link to home
Create AccountLog in
Avatar of dosyl
dosyl

asked on

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?
Avatar of mark2150
mark2150

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.

M
ASKER CERTIFIED SOLUTION
Avatar of g_jones021500
g_jones021500
Flag of Canada image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of dosyl

ASKER

g_jones
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