>Thanks Hilmar, but it doesn't work. The message is "c:\Temp\MyHelp.chm_ is not a table"
True, I was forgetting the other help formats (HLP, DBF). Pressumably, VFP looks at the extension and then decides what program should open the help file.
>RUN "C:\WINDOWS\hh.exe c:\temp\payhelp.chm" works (though it does show an ugly black box) but RUN "C:\WINDOWS\hh.exe c:\temp\payhelp.chm_" does not work.
Interesting.
>I wonder if there is an API I can call.
No idea. Perhaps that one will fail, as well.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)