I want to open a chm file with expanded state.I opend my file but it collapse all.:blush:
Printable View
I want to open a chm file with expanded state.I opend my file but it collapse all.:blush:
You can open up a specific topic using
hh.exe "C:\blah\filename.chm::/Root_Topic/Sub_Topic/topic9.htm"
hh.exe is what opens the CHM, the bit after the :: specifies where you want it to be open.
Doesn't the Help.ShowHelp method let you do that too? I haven't used it much and not for a long time, but I think that's the case.
please guid me more clearly . Thánks
@jmc: I haven't either, but I think that may be it. I don't know if it can open a CHM to a specific topic or not. http://www.helpware.net/mshelp2/demo2/h1xNET.htm
@manhit: Try the link. I was basing my answer for a Process.Start but it appears you could do a Help.ShowHelp.
@mendhak: Nice work.
OK, THANKS MENDHAK. I try noW :bigyello:
sorry, as last time. I used this but still not work :
PHP Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
HelpProvider1.HelpNamespace = "C:/Help.chm"
HelpProvider1.SetHelpNavigator(Button1, HelpNavigator.KeywordIndex)
HelpProvider1.SetHelpKeyword(Button1, "Nếu bạn muốn thêm ")
End Sub