Link to home
Start Free TrialLog in
Avatar of delphi3
delphi3

asked on

Stopping several running programs with a program.

I have Win98 and D4. If  there are several programs (3) running at one time and I want to close or Application.Terminate  all (3) with the aid of another  program then what procedure would I use in that closing program? Can you specify the details with a model or an example?

Delphi3
ASKER CERTIFIED SOLUTION
Avatar of inthe
inthe

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of delphi3
delphi3

ASKER

Hi inthe,
I have tried your example and it is very caption specific. I was thinking about MS Outlook Express but if that form is not on the screen it will not work. Still I understand now.

Thanks for the example.

The points are yours.  If they do not show up on your count please let me know how to proceed so that you get them

Delphi3
hi,
remember you can do:
MyHandle := FindWindow(The_Window_Classname, 'Nil');

if you need classnames of outlook express i can find them easyily using "sinfo".
i could mail a copy of sinfo if you want or do a search yahoo for a download address ,it comes in very handy sometimes for these type of things.