Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hide the commandbox
Message
De
06/01/2011 04:40:24
 
 
À
06/01/2011 04:25:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01494890
Message ID:
01494894
Vues:
70
#DEFINE SW_HIDE             0
lcDir = "c:\yourdir\"
lcCmd = lcDir + "yourprogram.exe"
lcPrm = "yourparameters"
DECLARE Long ShellExecute IN "Shell32.dll" ;
	Long hwnd, String lpVerb, String lpFile, ;
	String lpParameters, String lpDirectory, Long nShowCmd
ShellExecute(0, "", lcCmd, lcPrm, lcDir, SW_HIDE)
>I'm using RUN command, and always get a DOS box shows up, even I have added set cons off
>how can I hide the command box?
>
>thanks for the help.
>
>regards,
>
>Jerry
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform