Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling Help File from the MDI forms menu item.

Status
Not open for further replies.

tganeshven

Programmer
Mar 10, 2001
4
IN
I have created a project and its help file too. I am getting the help when I press F1 key while the program execution. But the I want to show the help when the user select the option Help from the MDI forms menu item.

Please Help Me


tganesh_v@yahoo.com
 
You need to add common dialog control on your form.
On Click event do next:

CommonDialog1.HelpCommand = cdlHelpForceFile

' Specify the Help file.

CommonDialog1.HelpFile = "C:\Program Files\FebSoft\Oasis SE\DCS.HLP"

' Display the Windows Help engine.

CommonDialog1.ShowHelp


That should do it!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top