Solved

HELP-File programming with Visual C++...

Posted on 2000-05-18
4
191 Views
Last Modified: 2010-04-02
I want to create a helpfile for my programmed application but I forgot to generate a context-help using the application-wizard. What is the best way to insert a helpfile without generating a new application with the application wizard ? It is not necessary, that the help-file is context-specific. I want to create a help-file using MS Word and I want to insert some snaphots. What is the best way ???
0
Comment
Question by:alexott
  • 2
4 Comments
 
LVL 1

Expert Comment

by:tvanceplus
ID: 2822102
The best way to use help when the help was not added into AppWizard is to use the html help that comes with VC++. You can find it in the [CD Root]\htmlhelp directory on the CD.

Install HtmlHelp on your computer. Then put together a simple help system in the HtmlHelp program. (This is not difficult; you can create a page in word and the save as web page.) Then you need to make "htmlhelp.lib" one of your project files. Finally, set up the path of the HtmlHelp.h file as one of your default directories. Then this code will work.


....

#include <htmlhelp.H>


....


CString path="c:\myhtmlhelp.chm";

HtmlHelp(NULL,path,NULL,0);


The HtmlHelp(...) function actually brings up the help screen.

I hope this helps, good luck!

tvanceplus
0
 

Author Comment

by:alexott
ID: 2826713
I Cannot Find any HTML-Help with my authors edition of visual c++.
0
 

Accepted Solution

by:
bandl earned 100 total points
ID: 2826979

Take a look here: (hopefully this link works):

http://msdn.microsoft.com/library/default.asp?URL/library/tools/htmlhelp/chm/hh1start.htm

or

go to msdn.microsoft.com and search for HTMLHELP to get information and download links for HTML Help.

I prefer HTML Help because its in the fairly common HTML format and because the help browser actually lets you link to web sites.

Caution: I'm not sure specifics but Internet Explorer 5 must be installed on the computer for the help to work (Win '98 might work without Explorer). There are patches provided to support this functionality if IE5 isn't on the computer.


I've never tried to actually add windows help (non-html) back into a project but I suspect if you were to study it a bit by creating two identical apps using the wizard, one with, one without, it wouldn't take long to see the difference. A couple of files and some command handlers in the main app object I suspect.

Good luck
0
 

Author Comment

by:alexott
ID: 2855693
Answer accepted
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

679 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