Solved

Know if an applications starts

Posted on 1997-05-05
1
140 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

775 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