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:

  1. 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"

  2. call help.showhelp() function correct parameters shown below

    help.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

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -