Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to launch HTML Help From VFP 5.0a
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00114902
Message ID:
00114978
Vues:
22
>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
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform