wakerunner
12-19-2008, 11:03 PM
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.
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.