Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HTML Help for FPW 2.6 ?
Message
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00194742
Message ID:
00195118
Views:
18
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
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Reply
Map
View

Click here to load this message in the networking platform