Hi All
How to link a chm file to an application?
Like say i have 2 forms in my application and if i press f1 in form1 respective help of Form1 should only come...Similarly for form2....
Plz help in solving my problem
Thank You.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Krishna KishorePosted Feb 22, 2006, 11:13 PM
Thank you very much, iwill try that and let u know the status,
bye,
Kishore.
Anwar BuchooPosted Feb 22, 2006, 3:08 AM
Use the API function call ShellExecute(), e.g.:
ShellExecute(hwnd, "open", "$ChmDir\MyHelp.chm", "", "", SW_SHOWNORMAL);
For more information, see MSDN Support
Rgds.
Krishna KishorePosted Feb 21, 2006, 10:55 PM
Appropriately the link should go to that help .....
How to do that?
Anwar BuchooPosted Feb 21, 2006, 5:07 AM
// In class FormA
Process.Start("FormAHelp.chm");
// In class FormB
Process.Start("FormBHelp.chm");
if your help files are different.