Solved

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

Posted on 2000-05-18
4
190 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
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 goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

831 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