>Hi I am using VFP 6
>I want to run an external windows program but when i run it with RUN command
>my program stop executing until closing the called program.
>How can I tell my program to continue exuting after calling an external windows programYou can use WIndows Script Host:
#define SW_SHOW_NORMAL 1
#define SW_SHOW_MINIMIZED 2
#define SW_SHOW_MAXIMIZED 3
oShell = createobject("WScript.Shell")
oShell.Run("notepad.exe",SW_SHOW_NORMAL,.F.)
The last parameter controls if you run synchronously or asynchronously (e.g. wait for it to complete, or not).
HTH