Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to launch HTML Help From VFP 5.0a
Message
From
05/08/1998 11:03:58
Raymond Humphrys
Michigan Department of Community Health
Bath, Michigan, United States
 
 
To
05/08/1998 11:01:33
Raymond Humphrys
Michigan Department of Community Health
Bath, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00114902
Message ID:
00124090
Views:
25
>>>Does anyone know how to launch a CHM html help file from VFP 5.0a?
>>>
>>Gray:
>>
>>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
I noticed that you have variables in the declare section named @lp and in the Shellexecute just above you have them named @lc. Is this on purpose?

I'm getting an error "Can't find entry point in DLL" when I do this procedure.

ray
Some days it's not worth chewing through the leather straps ...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform