PDA

View Full Version : Opening a specific help topic ID in html help


wakerunner
12-20-2008, 12:03 AM
I just thought that I would post how to do this here, I searched for an answer to this and couldn't find it and it took me over an hour to figure out how to make it work:

File.Run(_WindowsFolder.."\\hh.exe", "-mapid 601 ms-its:".._SourceFolder.."\\myhelpfile.chm", "", SW_SHOWNORMAL, false);

The code above would open the help file "myhelpfile.chm" in the autorun source folder, it would open it to topic ID 601.

Dermot
12-20-2008, 01:17 AM
I posted that solution a while back http://www.indigorose.com/forums/showthread.php?t=19698&highlight=jump+topic

wakerunner
12-20-2008, 09:11 AM
Thanks... Don't know how my search didn't show that in the results.