Solved

Help on the Help

Posted on 2000-03-02
3
139 Views
Last Modified: 2012-05-04
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?
0
Comment
Question by:dosyl
3 Comments
 
LVL 12

Expert Comment

by:mark2150
Comment Utility
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
0
 
LVL 3

Accepted Solution

by:
g_jones021500 earned 50 total points
Comment Utility
0
 
LVL 1

Author Comment

by:dosyl
Comment Utility
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
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now