|
Home > Archive > FoxPro Help and Support > May 2005 > How to call a program from VFP, but run on seperate window?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
How to call a program from VFP, but run on seperate window?
|
|
|
| I would like to call another job (i.e dos copy/ exe / vfp project) from vfp
project on a seperate window and run parallel.
How can I do it?
| |
| Stefan Wuebbe 2005-05-02, 3:25 am |
|
"Kam" <Kam@discussions.microsoft.com> schrieb im Newsbeitrag
news:CE2647E3-7973-4140-AD87- 0954806F6447@microso
ft.com...
>I would like to call another job (i.e dos copy/ exe / vfp project) from vfp
> project on a seperate window and run parallel.
>
> How can I do it?
When you use the DO command, the otherVFP.exe runs inside the same
runtime instance. When you use the RUN command or ShellExecute() API,
it will be a new instance.
hth
-Stefan
--
|\_/| ------ ProLib - programmers liberty -----------------
(.. ) Our MVPs and MCPs make the Fox run....
- / See us at www.prolib.de or www.AFPages.de
-----------------------------------------------------------
| |
|
| If I use the run command, the program will wait until the run command
finished, then move to the next statement.
For example, If I run the dos copy, I would like the program continue to
run, instead of wait for the dos copy finished.
How can I run the program, without waiting ?
"Stefan Wuebbe" wrote:
>
> "Kam" <Kam@discussions.microsoft.com> schrieb im Newsbeitrag
> news:CE2647E3-7973-4140-AD87- 0954806F6447@microso
ft.com...
>
> When you use the DO command, the otherVFP.exe runs inside the same
> runtime instance. When you use the RUN command or ShellExecute() API,
> it will be a new instance.
>
>
> hth
> -Stefan
>
>
>
> --
> |\_/| ------ ProLib - programmers liberty -----------------
> (.. ) Our MVPs and MCPs make the Fox run....
> - / See us at www.prolib.de or www.AFPages.de
> -----------------------------------------------------------
>
>
| |
| Carsten Bonde 2005-05-02, 7:24 am |
| Kam,
have you read the help on RUN? The parameter /N seems to be what you are
looking for.
For info on ShellExecute please look at: http://www.news2news.com/vfp/
--
Cheers
Carsten
____________________
___________
"Kam" <Kam@discussions.microsoft.com> schrieb im Newsbeitrag
news:FDD2B8E9-4B88-422E-94FE- 1DCD00AE8D0A@microso
ft.com...[color=darkred]
> If I use the run command, the program will wait until the run command
> finished, then move to the next statement.
>
> For example, If I run the dos copy, I would like the program continue to
> run, instead of wait for the dos copy finished.
>
> How can I run the program, without waiting ?
>
>
>
> "Stefan Wuebbe" wrote:
>
vfp[color=darkred]
|
|
|
|
|