Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to add an external file to the main menu
Message
De
11/04/2007 10:39:47
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01214372
Message ID:
01214423
Vues:
14
Sweet! Thanks!

>Try this
>DECLARE INTEGER ShellExecute ;
>	IN SHELL32.dll ;
>	INTEGER nWinHandle, ;
>	STRING cOperation, ;
>	STRING cFileName, ;
>	STRING cParameters, ;
>	STRING cDirectory, ;
>	INTEGER nShowWindow
>
>DEFINE BAR 10 OF _msystem PROMPT "\-"
>DEFINE BAR 11 OF _msystem PROMPT "FPW 2.6a help"
>ON SELECTION BAR 11 OF _msystem ;
>	ShellExecute(0, "Open", "h:\FPW26a\FoxHelp.hlp", "", "", 1)
>
>
>>It ran it in a DOS window and immediately closed, but I think we're really close.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform