>Hi Everybody,
>
>I use "!" to run an external program. When it runs, a black window is opened and closed (look like when you go to command prompt). How can I execute that program without that black window being shown?
>
>Thank you,
>AliYou could use WSH or API ShellExecute.
#define SW_SHOW_NORMAL 1
#define SW_SHOW_MINIMIZED 2
#define SW_SHOW_MAXIMIZED 3
#define SW_ASYNC .F.
#define SW_SYNC .T.
oShell = createobject("WScript.Shell")
oShell.Run("notepad.exe",SW_SHOW_NORMAL,SW_SYNC)