c# - Open a .CHM file to a Specific Topic? -
i have created .chm file , when open in c# first topic. want open specified topic. code use right open it.
help.showhelp(this, "./resources/serverhelp.chm");
i want able open specific topic audio. tried using
help.showhelp(this, "./resources/serverhelp.chm", helpnavigator.topic, "audio");
and showed me page not found. can please !! :p
this can achieved following steps:
identify names chm uses refer internal topics. done
- open chm file, , right click in topic page , select properties.
- the property called: address (url) contains topic page name @ end.
here example:
mk:@msitstore:c:\program%20files\silsila%2011\silsila.chm::/audio.htm
here topic page name "audio.htm"
call
help.showhelp()
function correct parameters shown belowhelp.showhelp(this, "./resources/silsila.chm", helpnavigator.topic, "audio.htm");
that should it. can fine topic name of pages want using step 1, , use step 2 open file on page.
Comments
Post a Comment