Gary,
VFP5 isn't hooked into CHM style help. Your topic numbers won't go across like they do in .HLP. Is .CHM associated with explorer? What exact arguments did you try sending ShellExecute()? I think the exe for HTML help is hh.exe. It has command line arguments but I'm not sure what they are. One might open that the HTML help engine exists as a COM object that you could instantiate but I've never investigated it.
>Does anyone know how to launch a CHM html help file from VFP 5.0a?
>
>I tried SET HELP TO c:\windows\help\users.chm, but got an error from fox saying it was not a windows help file or corrupt. this is followed by a gpf from vfp.
>
>I also tried using the ShellExecute api however nothing is happening and it is giving me a return value of 25255. I have no idea what this return value means but no help comes up.
>
>If I double click on the file in explorer it comes up fine. also if I !start "c:\windows\help\users.chm" it comes up ok also after a nasty dos box.
>
>Anyone know how to start it without using the bang? We also need to be able to start on specific topics if at all possible.