List Info

Thread: Windows processes




Windows processes
country flaguser name
United States
2008-03-11 18:34:19

Hi,

I am opening a file from my delphi app. For example: a PPS File or an Adobe file.
How can i close that file after it is launched from my delphi app ?

How can i to kill the process assigned to such file from my delphi application?

Could you help me please.

Do you have any idea ?

Thank you !

Fran

__._,_.___
.

__,_._,___
Re: Windows processes
country flaguser name
United States
2008-03-11 20:33:56

Francisco Javier Hernandez Segura wrote:
> I am opening a file from my delphi app. For example: a PPS File or an Adobe file.
> How can i close that file after it is launched from my delphi app ?
>
> How can i to kill the process assigned to such file from my delphi application?

You're not opening a file. You're starting a program (maybe). What that
program does with the file is out of your control, so you cannot close it.

How are you doing whatever you're doing. The answer determines what you
can do to stop whatever you started earlier.

--
Rob

__._,_.___
.

__,_._,___
Re: Windows processes
country flaguser name
United States
2008-03-11 20:59:58

Hi Francisco,
What Rob says is correct and i totally agree with.

Tell us how you "open" the file. Many times you can get the window handle of the process you started and "kill" the process by using window messages.

Why is it you need to "Kill" the window? Maybe you need to rethink your design as to what you are wanting to accomplish and it's methods?

Cheers,
Charlie

----- Original Message -----
From: Rob Kennedy
To: delphi-en%40yahoogroups.com">delphi-enyahoogroups.com
Sent: Tuesday, March 11, 2008 8:33 PM
Subject: Re: [delphi-en] Windows processes

Francisco Javier Hernandez Segura wrote:
> I am opening a file from my delphi app. For example: a PPS File or an Adobe file.
> How can i close that file after it is launched from my delphi app ?
>
> How can i to kill the process assigned to such file from my delphi application?

You're not opening a file. You're starting a program (maybe). What that
program does with the file is out of your control, so you cannot close it.

How are you doing whatever you're doing. The answer determines what you
can do to stop whatever you started earlier.

--
Rob

[Non-text portions of this message have been removed]

__._,_.___
.

__,_._,___
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )