Solved

Know if an applications starts

Posted on 1997-05-05
1
142 Views
Last Modified: 2012-05-04
I would like to know when an application starts. Which event shows that an application has started (like the Cleansweep for example)?
0
Comment
Question by:pavlidis
1 Comment
 
LVL 1

Accepted Solution

by:
sleach earned 50 total points
ID: 1335934
as I understand it,  you wish to check to see when a specific outside application(not your application) starts.  

To do this, you need the class name, and caption.

if  FindWindow('TClass', 'Caption') <> 0 then    ApplicationIsRunning;

If you do not know the class name and caption of the target application, use Winsite(included with delphi).  Winsite will tell you the Class name, and caption of all running windows(child windows too).  



0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question