>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.
>
>Thanks,
>Gray
I think the executable you have to run is HH.EXE passing the chum file you want to open.
Mark McCasland
Midlothian, TX USA