RunProgram / ShellExecute program

Just starting out? Need help? Post your questions and find answers here.
Palpatine
User
User
Posts: 22
Joined: Wed May 05, 2004 7:43 am
Location: Rotterdam
Contact:

Post by Palpatine »

fweil wrote:...,

I was meaning viewtopic.php?t=10820
Ah I see, thanks.

I tried to run it but it gives an error. It is a bit like what I am doing I think. However, if I build in IsScreenActive() to check if the screen is opened, how will that help me?

I already tried another openscreen() command after the calling of the external program, to see if that works, but it just gives errors.

Cheers,
Ron
fweil
Enthusiast
Enthusiast
Posts: 725
Joined: Thu Apr 22, 2004 5:56 pm
Location: France
Contact:

Post by fweil »

...,

If you can-t find your way as I suggest in the posted code , aybe you should try to use a regular window with an windowedscreen sinside ?

...
My avatar is a small copy of the 4x1.8m image I created and exposed at 'Le salon international du meuble à Paris' january 2004 in Matt Sindall's 'Shades' designers exhibition. The original laminated print was designed using a 150 dpi printout.
Palpatine
User
User
Posts: 22
Joined: Wed May 05, 2004 7:43 am
Location: Rotterdam
Contact:

Post by Palpatine »

fweil wrote:...,

If you can-t find your way as I suggest in the posted code , aybe you should try to use a regular window with an windowedscreen sinside ?

...
I coould do that, but will that do the trick? I mean, then the program's window will no longer close when starting an external application?

Cheers,
Ron
fweil
Enthusiast
Enthusiast
Posts: 725
Joined: Thu Apr 22, 2004 5:56 pm
Location: France
Contact:

Post by fweil »

So you could iconize your window in the meanwhile.

When executing RunProgram(..., 0) it waits the external called program returns before to continue the caller ...
My avatar is a small copy of the 4x1.8m image I created and exposed at 'Le salon international du meuble à Paris' january 2004 in Matt Sindall's 'Shades' designers exhibition. The original laminated print was designed using a 150 dpi printout.
Palpatine
User
User
Posts: 22
Joined: Wed May 05, 2004 7:43 am
Location: Rotterdam
Contact:

Post by Palpatine »

Hi,
fweil wrote:So you could iconize your window in the meanwhile.

When executing RunProgram(..., 0) it waits the external called program returns before to continue the caller ...
Ok, but it won't close the window, right? I could just "runprogram" calc.exe (example) and have it run on top of my window right?

When I tried this in screen mode the screen either closed or the program froze.

Cheers,
Ron
Palpatine
User
User
Posts: 22
Joined: Wed May 05, 2004 7:43 am
Location: Rotterdam
Contact:

Post by Palpatine »

fweil wrote:So you could iconize your window in the meanwhile.

When executing RunProgram(..., 0) it waits the external called program returns before to continue the caller ...
Ok thanks! This more or less does the trick :-)

Cheers,
Ron
Post Reply