Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to avoid black screen on run command
Message
From
26/02/2017 13:32:56
 
 
To
26/02/2017 12:41:59
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01648531
Message ID:
01648541
Views:
47
>
*SHELLEX.prg
>
>LPARAMETER lcLink, lcAction, lcParms
>*
>lcAction = IIF(EMPTY(lcAction), "Open", lcAction)
>lcParms = IIF(EMPTY(lcParms), "", lcParms)
>*
>DECLARE INTEGER ShellExecute ;
>    IN SHELL32.dll ;
>    INTEGER nWinHandle, ;
>    STRING cOperation, ;
>    STRING cFileName, ;
>    STRING cParameters, ;
>    STRING cDirectory, ;
>    INTEGER nShowWindow
>*
>DECLARE INTEGER FindWindow ;
>   IN WIN32API ;
>   STRING cNull,STRING cWinName
>*
>RETURN ShellExecute(FindWindow(0, _SCREEN.caption), ;
>                    lcAction, lcLink, ;
>                    lcParms, SYS(2023), 1)
This is same as RUN /N7

both does not wait for process completion?
Andrus
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform