Solved

Know if an applications starts

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Filemaker 14 vs Delphi Embarcadero 7 186
indy tidtcpclient threading issue 8 63
Delphi Firemonkey Need Sample for Online Shopping Example. 2 120
delphi parse string to params 3 100
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…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

896 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now