Windows Develop Bookmark and Share   
 index > Windows Forms General > Opening a .chm file from a menu item
 

Opening a .chm file from a menu item

I would like to open a .chm file whenever a specific menu item is selected.

How do I do that in a C++ WinForms application?

Charles Tam  Wednesday, September 13, 2006 12:34 AM

The C# code uses the Process class:



Process p = new Process();
p.StartInfo.FileName = @"path_to_chm";
p.Start();

Hope this helps.

gqlu  Wednesday, September 13, 2006 1:59 AM

The C# code uses the Process class:



Process p = new Process();
p.StartInfo.FileName = @"path_to_chm";
p.Start();

Hope this helps.

gqlu  Wednesday, September 13, 2006 1:59 AM

You can use google to search for other answers

Custom Search

More Threads

• Scrollbar on WebBrowser control in Windows Forms 2.0
• Common controls vs all windows forms
• Need to know the bounds of the visible portion of a control (in cases where the control might be resized if adjacent control is pinned or unpinned)
• checking if a key is pressed
• Problem with applying non primary colors
• remote dll
• Making ToolStripButtons behave like a TabControl
• Outlook Reference.
• create an xml file from a data grid view in vb.net
• Crystal Report using MySql