Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hide the commandbox
Message
From
06/01/2011 04:40:24
 
 
To
06/01/2011 04:25:30
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01494890
Message ID:
01494894
Views:
69
#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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform