Of course, there's no DECLARE in Fox 2.6, so that won't work.
However, I do have some tools on my Web site that let you call 32 bit
DLL functions from 16 bit Fox 2.6 code. ShellExecute wiill work with those
tools...
http://www.west-wind.com/wwfp2pd.htm+++ Rick ---
>>Hello,
>>I'm writing a new Help file for an FPW 2.6 application. I'd like to use HTML format, but I get the error message "xxx.chm not a valid help file". I don't have any problems with using Windows 95 help (*.hlp).
>>What I did so far is to SET HELP TO filename
>>Is there a way of using HTML help anyway?
>>Thank you for your time.
>
>In earlier version of VFP, the following worked for me:
>
>In the app, put something like this:
>On Key Label F1 do HtmlHelp
>
>procedure HtmlHelp
>*
>DECLARE INTEGER ShellExecute IN Shell32 ;
> INTEGER @HWND,;
> STRING @lpOperation,;
> STRING @lpFile,;
> STRING @lpParameters,;
> STRING @lpDirectory,;
> INTEGER @nShowCmd
>
>hWind = 0
>lcOperation = "OPEN"
>lcFile = "HH.EXE"
>lcParameter = "MyHelp.CHM"
>lcDirectory = "C:\WINDOWS"
>liShow = 0
>lnResult = ;
> ShellExecute(@hWind,@lcOperation,@lcFile,@lcParameter,@lcDirectory,liShow)
>clear DLLS