Linking help file to vb6 app

This section is for programmers. Please use it for all discussons on interfacing help with your applications and related subjects.

Moderators: Alexander Halser, Michael Schwarzl

Post Reply
Jshipley
Posts: 8
Joined: Tue Oct 01, 2002 4:32 pm

Linking help file to vb6 app

Unread post by Jshipley »

HELP!

Ok, this is my first time creating a help file. I loved help & manual it made creating my help file pretty easy. Now, I can't figure out how to connect it to my app. I've read all the tutorials and looked at samples but it just isn't making any sense to me. This is what I want to happen. If the user presses F1 from the form it brings up the help page on that form. If the user presses F1 from a control it brings up the help page for that control. I've been hacking away at this for like 3 days now and I am frustrated. Please help.
User avatar
Alexander Halser
EC-Software Support
Posts: 4104
Joined: Mon Jun 24, 2002 7:24 pm
Location: Salzburg, Austria
Contact:

Unread post by Alexander Halser »

Please check out our resource page http://www.ec-software.com/tutorial.htm

The tutorial for VB on this page is from Don Lammers (http://www.smountain.com/).
Alexander Halser
Senior Software Architect, EC Software GmbH
cygnus
Posts: 3
Joined: Thu Dec 05, 2002 10:21 pm

Same question

Unread post by cygnus »

I downloaded the tutorial from shadowmountain. It mentions the need for winhelp.bas or winhelp.cls and I can't find them or any usefull vb examples.
User avatar
Alexander Halser
EC-Software Support
Posts: 4104
Joined: Mon Jun 24, 2002 7:24 pm
Location: Salzburg, Austria
Contact:

Unread post by Alexander Halser »

I am afraid I cannot help you much with VB. I cannot even judge whether the tutorial is good or not.

You could either contact the author of that tutorial (Don Lammers)
or try one of the following sites for more info on VB:

http://mvps.org/htmlhelpcenter/
The VB news groups on the Microsoft server
Alexander Halser
Senior Software Architect, EC Software GmbH
Melanie Langenhan
Posts: 6
Joined: Wed Nov 13, 2002 5:13 pm
Location: Germany
Contact:

Unread post by Melanie Langenhan »

I found an explanation online which gives all the necessary instructions (where to add a link in VB to the help file), compiling the .h-file etc.

http://www.tek-tips.com/gfaqs.cfm/pid/222/fid/2088

Perhaps the .h file is the .hm file which can be found in the temp-directory of the project after compiling? In this case it needs to be renamed. (Alexander, please correct me if I am wrong!)
cygnus
Posts: 3
Joined: Thu Dec 05, 2002 10:21 pm

Don't understand

Unread post by cygnus »

Look at the Visual Basic context help sample on this page

http://www.smountain.com//m_ProgrammingHelp.htm
User avatar
Alexander Halser
EC-Software Support
Posts: 4104
Joined: Mon Jun 24, 2002 7:24 pm
Location: Salzburg, Austria
Contact:

Unread post by Alexander Halser »

Perhaps the .h file is the .hm file which can be found in the temp-directory of the project after compiling
Yes, this is the same. .hm stands for help map, a text file with context number / topic ID mappings.
Alexander Halser
Senior Software Architect, EC Software GmbH
Post Reply