CHM files?

Blitz3D Forums/Blitz3D Programming/CHM files?

Hi all. Any idea how to get a CHM file to open to Contents/Index/Search? I can't seem to find any refs on MSDN except using the API - but I thought there were switches that would do this. I am using:

execfile("help.chm")

to open the file but was wondering if there's something like:

execfile("help.chm -contents")

that would do what I'm looking for. Any assistance appreciated. Thanks!
Michael

Checking the association for chm on my system reveals it is opened with hh.exe, which does accept params but at a glance it does not look like any of them are going to help you much.

The API Htmlhelp function may be worth a look, though I am not sure that would do what you want either besides which it is in hhctrl.ocx and I am not at all sure about trying to call functions in ocx files, could be they are just like regular DLLs though.