Calling a help file .chm from a menu
Posted on 2002-04-10
I am currently working on a project that requires HTML help. I used the HTML Help workshop to create the help file. I have inserted it into the project properties. My question is two parts.
First I can now press F1 and my help file opens but this only happens if I have a document or form opened in the main form of the MDI. How can I get the help to open for the application if no document or child from is open.
Second question I wanted to open the help from a call to a menu Item on click.
App.HelpFile = App.Path & "\CMP_Comm_Help.chm"
I inserted the following code to designate the help file but am missing something to actually open it. Can any one tell me what I am missing to open the helpfile.
I have seen refrences to OSWinHelp(Me.hwnd, App.HelpFile, 261, 0)
if this is the missing code could someone please define the parameters for this argument.