Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Does VFP5.0 supports *.CHM file as Help file?
Message
 
 
To
21/01/2002 14:56:01
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00607949
Message ID:
00608423
Views:
21
This message has been marked as the solution to the initial question of the thread.
>Hi all,
> Does VFP 5.0 supports *.CHM file as Help file OR it supports only *.HLP files? I know, VFP 6.0 supports CHM file. Please let me know the solution.
>
>Thanks in Advance,
>
>Ravi

No, but you should be able to do the following:
ON KEY LABEL F1 DO Help_Program

*** Help_Program ***

local lcFile
lcFile = fullpath("myhelp.chm")

DECLARE INTEGER ShellExecute IN "Shell32.dll" ;
    INTEGER hwnd, ;
    STRING lpVerb, ;
    STRING lpFile, ;
    STRING lpParameters, ;
    STRING lpDirectory, ;
    LONG nShowCmd

=Shellexecute(0,"Open",lcFile,"","",1)
release DLLs
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform