Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to launch HTML Help From VFP 5.0a
Message
De
05/08/1998 11:03:58
Raymond Humphrys
Michigan Department of Community Health
Bath, Michigan, États-Unis
 
 
À
05/08/1998 11:01:33
Raymond Humphrys
Michigan Department of Community Health
Bath, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00114902
Message ID:
00124090
Vues:
24
>>>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 ...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform