Help Files



  • 1. Disable long name preservation for old programs
    Hi, How can I programatically disable long name preservation for old programs? Pls send also to my email. TIA, Harvey
  • 2. AfxMessageBox problem in Windows 98?
    I have this strange problem. I developed an application in Windows 2000 where you enter some data in a editbox and then press enter and if it is the wrong data a message box pops up with a message. This works fine in Windows 2000, but in Windows 98 the message box does not popup and there is no error reported. I have never had this problem before and the message boxes have always worked just fine when going from Windows 2000 to Windows 98. Does anyone know what might be causing this? Roger

Help files

Postby Ed » Sun, 26 Mar 2006 06:22:22 GMT

How and where do I create a help fie for use with the context help ? symbol 
you can add to mainframe upper right and what kind of file is it.

Also when I hit the F1 key while my app is running I get the following 

Cannot find the file C:\Projects\Myproject\Release\Myproject.HLP file. Do 
you want to try to find this file by yourself?

How do I create this file and what kind of file is it?


Re: Help files

Postby Ajay Kalra » Sun, 26 Mar 2006 06:34:28 GMT

Look here:


Ajay Kalra

Help Files

Postby lee coleman » Sat, 29 Sep 2007 23:02:58 GMT

I created an MFC application 2 years ago with help integrated.  Now I'm 
trying to setup the help files, and when I hit F1 I get this error "Failed 
to launch help".  When I go to the help tab at the top of my screen, and 
click the help button the help file opens normally.  I looked at my output 
window in Visual Studio, and this error was coming up "HtmlHelp: pszHelpFile 
= 'c:\wspace\Projects\MDAF\Code\MDAF\MDAE\Debug\MDAE.CHM', dwData: $2006d, 
fuCommand: 15.".  The path that's shown there is the correct path.  I even 
went into the de{*filter*} just to make sure that the path was there on 
initialization.  It of course was.  I tried running the help file by itself, 
and it worked fine.  In fact the help file has never been modified.  It's 
the default help file.  By the way the EnableHTMLHelp() function was where 
it's supposed to be.  I'm sort of lost at where to go here.  I hope that 
described the issue well enough.  Thanks for the help in advance! 

Re: Help Files

Postby Tom Serface » Sun, 30 Sep 2007 02:39:12 GMT

You could look at the accelerator table and see what is defined for F1. 
Also, it could be that another window (view for example) is grabbing the 
keystroke and you may need to pass it on.


Similar Threads:

1.Using CHM Help File instead of HLP Help File

Hi All,

I am using MFC VC++ 6. The "Help Topic" is generated by VC++. It allows to
use HLP file.
I have CHM help created available. I want to use CHM Help File instead if
HLP Help File. How can I do that?

I see some commands generate by VC++:

It seems like nothing I can do with OnHelpFinder, OnHelp, OnContextHelp.
And I have to do somthing like
to deal with CHM help file

Is  it at that hard?

Do you know anyway to work with CHM help file easier?
Or at least, when user click help and Help.CHM will be called instead of

Thank you,


2.Help with ISerializable help file paragraph.

3.Help file corrupted, need new file (evc4++)

Hi !

When i start the help window in EVC++ 4, I got the message :
"Attempting to use an invalid compiled help (.chm) file."
"Unable to display Help: A required component is missing. Please resintall."

Even after the reinstall, I still cannot open the help.

Can someone send me the help file, or give an URL where I can download it.


4.Outlook/Help file multi pane style app

Im am writing an application that will looks similar to Outlook or a help
file, i.e tree structure on left with right hand side pane showing data. It
is split into two panes.The Left pane has a treeview. When the nodes in the
tree are selected data is shown in the right pane.

I am using a treeview in the left pane and was wondering what is the best
way to show the data being selected in the right pane.

It's been suggested i use a panel control in the right hand pane to display
the data from the treeview.

For each node in the treeview i need to show a different set of data/view.
One node will have a few controls like combo boxes,text boxes,push buttons,
which will be used to produce a report.

Another view will contain text with some link labels that if clicked on will
bring up another page of text or a dialog.

Other nodes will have different views.

I would like advice on how i could show the different views for the nodes
and how i would design them. Would i need multiple panels or is there
another way to do it?

Thanks In Advance

5.Help files

As of Friday, the place I worked for went bust. I've been doing Linux C for
2 years and it is time to refresh C# skills.

Way back when, I had a utility that extracted the commentary out of the C#
code and generated help files.  I have since lost that tool.  Can anyone
suggest such a took for me to gat my hands on?


6. HELP File path confusion in WinForms app

7. Problem opening an .htm help file at an anchor

8. Basic Help File

Return to VC


Who is online

Users browsing this forum: No registered users and 33 guest