Solved

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

Posted on 2000-05-18
4
193 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

  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 …
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

691 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